]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
block: open code __blk_account_io_done()
authorChaitanya Kulkarni <kch@nvidia.com>
Mon, 27 Mar 2023 07:34:27 +0000 (00:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Mar 2023 19:22:58 +0000 (13:22 -0600)
commit06965037ce942500c1ce3aa29ca217093a9c5720
treeca2fdca57023fd71e28acc58d636f917c35ffe3c
parente165fb4dd6985b37215178e514a2e09dab8fef14
block: open code __blk_account_io_done()

There is only one caller for __blk_account_io_done(), the function
is small enough to fit in its caller blk_account_io_done().

Remove the function and opencode in the its caller
blk_account_io_done().

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230327073427.4403-2-kch@nvidia.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c