1
0
Fork 0

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 1cde26f928

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
hifive-unleashed-5.1
Jens Axboe 2009-05-18 14:44:45 +02:00
parent 1cde26f928
commit f831cc0349
1 changed files with 0 additions and 1 deletions

View File

@ -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) {