diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-02-28 11:43:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-02-28 11:43:30 -0800 |
commit | 2edc78b9a4b868d7bfee4f87ea29f2df19b6e955 (patch) | |
tree | e719289213d2691ad2a89a9576f72e9b670cbf74 /drivers/block | |
parent | 74dea5d99d19236608914d2c556134e4cdc21c60 (diff) | |
parent | 5b8ea58b6a338cb981670c4408225331aedb4b89 (diff) | |
download | linux-2edc78b9a4b868d7bfee4f87ea29f2df19b6e955.tar.gz |
Merge tag 'block-5.6-2020-02-28' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe:
- Passthrough insertion fix (Ming)
- Kill off some unused arguments (John)
- blktrace RCU fix (Jan)
- Dead fields removal for null_blk (Dongli)
- NVMe polled IO fix (Bijan)
* tag 'block-5.6-2020-02-28' of git://git.kernel.dk/linux-block:
nvme-pci: Hold cq_poll_lock while completing CQEs
blk-mq: Remove some unused function arguments
null_blk: remove unused fields in 'nullb_cmd'
blktrace: Protect q->blk_trace with RCU
blk-mq: insert passthrough request into hctx->dispatch directly
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/null_blk.h | 3 | ||||
-rw-r--r-- | drivers/block/null_blk_main.c | 2 |
2 files changed, 0 insertions, 5 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; diff --git a/drivers/block/null_blk_main.c b/drivers/block/null_blk_main.c index 16510795e377..133060431dbd 100644 --- a/drivers/block/null_blk_main.c +++ b/drivers/block/null_blk_main.c @@ -1518,8 +1518,6 @@ static int setup_commands(struct nullb_queue *nq) for (i = 0; i < nq->queue_depth; i++) { cmd = &nq->cmds[i]; - INIT_LIST_HEAD(&cmd->list); - cmd->ll_list.next = NULL; cmd->tag = -1U; } |