Skip to content

Commit 30a0e31

Browse files
xue01-heaxboe
authored andcommitted
block: delete redundant function declaration
blk_stats_alloc_enable was used for block hybrid poll, the related function definition was removed by patch: commit 54bdd67 ("blk-mq: remove hybrid polling") but the function declaration was not deleted. Signed-off-by: hexue <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent d9ff882 commit 30a0e31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

block/blk-stat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ struct blk_stat_callback {
6464

6565
struct blk_queue_stats *blk_alloc_queue_stats(void);
6666
void blk_free_queue_stats(struct blk_queue_stats *);
67-
bool blk_stats_alloc_enable(struct request_queue *q);
6867

6968
void blk_stat_add(struct request *rq, u64 now);
7069

0 commit comments

Comments
 (0)