Skip to content

Commit

Permalink
virtio_blk: get rid of unused variable
Browse files Browse the repository at this point in the history
drivers/block/virtio_blk.c: In function 'blk_done':
drivers/block/virtio_blk.c:53: warning: unused variable 'nr_bytes'

Leftover from commit 1cde26f

Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Jens Axboe committed May 18, 2009
1 parent 1cde26f commit f831cc0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static void blk_done(struct virtqueue *vq)

spin_lock_irqsave(&vblk->lock, flags);
while ((vbr = vblk->vq->vq_ops->get_buf(vblk->vq, &len)) != NULL) {
unsigned int nr_bytes;
int error;

switch (vbr->status) {
Expand Down

0 comments on commit f831cc0

Please sign in to comment.