summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk.h
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2020-02-24 19:39:11 +0100
committerJens Axboe <axboe@kernel.dk>2020-02-25 17:43:29 +0100
commit93d7c3185893b185e7f4347f8986b9b521254a6e (patch)
tree59f7e168de1660cd5070c54bb099f1dc0ee274e8 /drivers/block/null_blk.h
parentblktrace: Protect q->blk_trace with RCU (diff)
downloadlinux-93d7c3185893b185e7f4347f8986b9b521254a6e.tar.xz
linux-93d7c3185893b185e7f4347f8986b9b521254a6e.zip
null_blk: remove unused fields in 'nullb_cmd'
'list', 'll_list' and 'csd' are no longer used. The 'list' is not used since it was introduced by commit f2298c0403b0 ("null_blk: multi queue aware block test driver"). The 'll_list' is no longer used since commit 3c395a969acc ("null_blk: set a separate timer for each command"). The 'csd' is no longer used since commit ce2c350b2cfe ("null_blk: use blk_complete_request and blk_mq_complete_request"). Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk.h')
-rw-r--r--drivers/block/null_blk.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/null_blk.h b/drivers/block/null_blk.h
index bc837862b767..62b660821dbc 100644
--- a/drivers/block/null_blk.h
+++ b/drivers/block/null_blk.h
@@ -14,9 +14,6 @@
#include <linux/fault-inject.h>
struct nullb_cmd {
- struct list_head list;
- struct llist_node ll_list;
- struct __call_single_data csd;
struct request *rq;
struct bio *bio;
unsigned int tag;