aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-05-18 08:44:45 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-05-18 08:44:45 -0400
commitf831cc03490c78a76e2d35ad77ec2292d0323728 (patch)
tree0ff09e89b46cefe154eb37c61111488fa56cdc3a
parent1cde26f928863d90e9e7c1217880c8450464d305 (diff)
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 1cde26f928863d90e9e7c1217880c8450464d305 Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--drivers/block/virtio_blk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 62275dbdf2eb..511d4ae2d176 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -50,7 +50,6 @@ static void blk_done(struct virtqueue *vq)
50 50
51 spin_lock_irqsave(&vblk->lock, flags); 51 spin_lock_irqsave(&vblk->lock, flags);
52 while ((vbr = vblk->vq->vq_ops->get_buf(vblk->vq, &len)) != NULL) { 52 while ((vbr = vblk->vq->vq_ops->get_buf(vblk->vq, &len)) != NULL) {
53 unsigned int nr_bytes;
54 int error; 53 int error;
55 54
56 switch (vbr->status) { 55 switch (vbr->status) {