diff options
author | hexue <xue01.he@samsung.com> | 2024-05-27 10:45:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-27 21:58:06 +0200 |
commit | 30a0e3135f9aa14ba745f767375183b3112d7440 (patch) | |
tree | 495b11405bae7b9a030da15056d78b56df66cb1c /block/blk-stat.h | |
parent | null_blk: Fix return value of nullb_device_power_store() (diff) | |
download | linux-30a0e3135f9aa14ba745f767375183b3112d7440.tar.xz linux-30a0e3135f9aa14ba745f767375183b3112d7440.zip |
block: delete redundant function declaration
blk_stats_alloc_enable was used for block hybrid poll, the related
function definition was removed by patch:
commit 54bdd67d0f88 ("blk-mq: remove hybrid polling")
but the function declaration was not deleted.
Signed-off-by: hexue <xue01.he@samsung.com>
Link: https://lore.kernel.org/r/20240527084533.1485210-1-xue01.he@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-stat.h')
-rw-r--r-- | block/blk-stat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-stat.h b/block/blk-stat.h index 17e1eb4ec7e2..5d7f18ba436d 100644 --- a/block/blk-stat.h +++ b/block/blk-stat.h @@ -64,7 +64,6 @@ struct blk_stat_callback { struct blk_queue_stats *blk_alloc_queue_stats(void); void blk_free_queue_stats(struct blk_queue_stats *); -bool blk_stats_alloc_enable(struct request_queue *q); void blk_stat_add(struct request *rq, u64 now); |