projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cde26f
)
virtio_blk: get rid of unused variable
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 18 May 2009 12:44:45 +0000
(14:44 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 18 May 2009 12:44:45 +0000
(14:44 +0200)
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>
drivers/block/virtio_blk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/virtio_blk.c
b/drivers/block/virtio_blk.c
index 62275dbdf2eb2eac56e6f28ff9d9d6df0585bad2..511d4ae2d1764cb6816bd07cbc014e6bc55802cd 100644
(file)
--- a/
drivers/block/virtio_blk.c
+++ b/
drivers/block/virtio_blk.c
@@
-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) {