diff options
author | Christoph Hellwig <hch@lst.de> | 2014-04-14 10:30:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-15 14:03:02 -0600 |
commit | 9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b (patch) | |
tree | c36c53290f8b5ed7f1ae9a89b534a9c3155c0491 /block/blk-mq.h | |
parent | 742ee69b92d9559e968f70cf0a49157866f8fbef (diff) | |
download | op-kernel-dev-9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b.zip op-kernel-dev-9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b.tar.gz |
blk-mq: do not initialize req->special
Drivers can reach their private data easily using the blk_mq_rq_to_pdu
helper and don't need req->special. By not initializing it code can
be simplified nicely, and we also shave off a few more instructions from
the I/O path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r-- | block/blk-mq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index ebbe6ba..238379a 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -27,7 +27,6 @@ void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async); void blk_mq_init_flush(struct request_queue *q); void blk_mq_drain_queue(struct request_queue *q); void blk_mq_free_queue(struct request_queue *q); -void blk_mq_rq_init(struct blk_mq_hw_ctx *hctx, struct request *rq); /* * CPU hotplug helpers |