Commit 56aacead authored by Chaitanya Kulkarni's avatar Chaitanya Kulkarni Committed by Greg Kroah-Hartman
Browse files

block: open code __blk_account_io_done()



[ Upstream commit 06965037 ]

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: default avatarChaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230327073427.4403-2-kch@nvidia.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 99dc4223 ("block: support to account io_ticks precisely")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4e4c9bf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment