block: Remove blk_mq_attempt_merge() function
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Fri, 28 Aug 2020 02:52:57 +0000 (10:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:26 +0000 (16:49 -0600)
commitcdfcef9ee87745d9511ad8825e1d2b8b861884da
tree12f6e3cc09b1c987630ee4587aa7f5e30fb846fb
parent7d7ca7c5269becab86c9f595309c8e90ce268967
block: Remove blk_mq_attempt_merge() function

The small blk_mq_attempt_merge() function is only called by
__blk_mq_sched_bio_merge(), just open code it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sched.c