summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-09-01 20:15:18 +0200
committerJens Axboe <axboe@kernel.dk>2017-09-01 21:57:35 +0200
commitbc75705d00637c5f7b0346bf63094a9899c3d516 (patch)
tree0f8fdaac6cfbd753572fa4226c395946882f7f68 /drivers/block
parentblock/loop: fix use after free (diff)
downloadlinux-bc75705d00637c5f7b0346bf63094a9899c3d516.tar.xz
linux-bc75705d00637c5f7b0346bf63094a9899c3d516.zip
block/loop: remove unused field
nobody uses the list. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/loop.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.h b/drivers/block/loop.h
index b0ba4a5951c4..f68c1d50802f 100644
--- a/drivers/block/loop.h
+++ b/drivers/block/loop.h
@@ -67,7 +67,6 @@ struct loop_device {
struct loop_cmd {
struct kthread_work work;
struct request *rq;
- struct list_head list;
union {
bool use_aio; /* use AIO interface to handle I/O */
atomic_t ref; /* only for aio */