summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-29 10:22:19 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:42:32 -0700
commitc6f2882691e8fd128083abdcc3c5aa5b410c2367 (patch)
treefb22e45b8ce123192cdcf616416b622b1402f96d /block/blk-core.c
parentf664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 (diff)
downloadlinux-stable-c6f2882691e8fd128083abdcc3c5aa5b410c2367.tar.gz
linux-stable-c6f2882691e8fd128083abdcc3c5aa5b410c2367.tar.bz2
linux-stable-c6f2882691e8fd128083abdcc3c5aa5b410c2367.zip
block: remove q->lld_busy_fn()
Nobody is using the legacy path for blk_lld_busy() anymore, remove it. Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index ca1a3af49f87..03ef8f0e7dc5 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -3429,8 +3429,6 @@ EXPORT_SYMBOL_GPL(rq_flush_dcache_pages);
*/
int blk_lld_busy(struct request_queue *q)
{
- if (q->lld_busy_fn)
- return q->lld_busy_fn(q);
if (q->mq_ops && q->mq_ops->busy)
return q->mq_ops->busy(q);