block: merge submit_bio_checks() into submit_bio_noacct
authorMing Lei <ming.lei@redhat.com>
Wed, 16 Feb 2022 04:45:11 +0000 (12:45 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Feb 2022 02:42:28 +0000 (19:42 -0700)
commitd24c670ec1f9f1dc320e59004e61f3491ae24546
tree530faccf00620dff28063a3e2eeca8a770ecac39
parent3f98c753717c600eb5708e9b78b3eba6664bddf1
block: merge submit_bio_checks() into submit_bio_noacct

Now submit_bio_checks() is only called by submit_bio_noacct(), so merge
it into submit_bio_noacct().

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220216044514.2903784-6-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c