block: remove ->poll_fn
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:26 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:19 +0000 (11:38 -0700)
commit529262d56dbebe6a26df5d2fd24cc0e1bc8579e5
tree6040d2d4f2faa36d324559ea7fd2916b73130e1c
parent9d6610b76fa374eae3deb93bcbace4a06c2e3b95
block: remove ->poll_fn

This was intended to support users like nvme multipath, but is just
getting in the way and adding another indirect call.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
include/linux/blkdev.h