Commit 4e4c9bf7 authored by Chaitanya Kulkarni's avatar Chaitanya Kulkarni Committed by Greg Kroah-Hartman
Browse files

block: open code __blk_account_io_start()



[ Upstream commit e165fb4d ]

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

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

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 71e8e4f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment