Commit f831cc03 authored by Jens Axboe's avatar Jens Axboe

virtio_blk: get rid of unused variable

drivers/block/virtio_blk.c: In function 'blk_done':
drivers/block/virtio_blk.c:53: warning: unused variable 'nr_bytes'

Leftover from commit 1cde26f9Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 1cde26f9
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment