diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-11-20 10:06:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-11-20 20:22:40 +0300 |
commit | c96b8175522a2c52e297ee0a49827a668f95e1e8 (patch) | |
tree | b5e99b1a6671c30e4a2301a8b0f69200797db5a4 /include/linux/blk-pm.h | |
parent | c2da049f419417808466c529999170f5c3ef7d3d (diff) | |
download | linux-c96b8175522a2c52e297ee0a49827a668f95e1e8.tar.xz |
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>
Diffstat (limited to 'include/linux/blk-pm.h')
-rw-r--r-- | include/linux/blk-pm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk-pm.h b/include/linux/blk-pm.h index 2580e05a8ab6..004b38a538ff 100644 --- a/include/linux/blk-pm.h +++ b/include/linux/blk-pm.h @@ -15,7 +15,6 @@ extern int blk_pre_runtime_suspend(struct request_queue *q); extern void blk_post_runtime_suspend(struct request_queue *q, int err); extern void blk_pre_runtime_resume(struct request_queue *q); extern void blk_post_runtime_resume(struct request_queue *q); -extern void blk_set_runtime_active(struct request_queue *q); #else static inline void blk_pm_runtime_init(struct request_queue *q, struct device *dev) {} |