virtio: console: Use better variable names for fill_queue operation
authorAmit Shah <amit.shah@redhat.com>
Wed, 24 Feb 2010 05:07:44 +0000 (10:37 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 4 Mar 2010 08:10:39 +0000 (13:40 +0530)
We want to keep track of the number of buffers added to a vq. Use
nr_added_bufs instead of 'ret'.

Also, the users of fill_queue() overloaded a local 'err' variable to
check the numbers of buffers allocated. Use nr_added_bufs instead of
err.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: Juan Quintela <quintela@redhat.com>

No differences found