block: Remove blk_set_runtime_active()
authorDamien Le Moal <dlemoal@kernel.org>
Mon, 20 Nov 2023 07:06:11 +0000 (16:06 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Nov 2023 17:22:40 +0000 (10:22 -0700)
commitc96b8175522a2c52e297ee0a49827a668f95e1e8
treeb5e99b1a6671c30e4a2301a8b0f69200797db5a4
parentc2da049f419417808466c529999170f5c3ef7d3d
block: Remove blk_set_runtime_active()

The function blk_set_runtime_active() is called only from
blk_post_runtime_resume(), so there is no need for that function to be
exported. Open-code this function directly in blk_post_runtime_resume()
and remove it.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20231120070611.33951-1-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-pm.c
include/linux/blk-pm.h