[PATCH v2] block: delete redundant function declarations

hexue posted 1 patch 1 year, 8 months ago
block/blk-stat.h | 1 -
1 file changed, 1 deletion(-)
[PATCH v2] block: delete redundant function declarations
Posted by hexue 1 year, 8 months ago
blk_stats_alloc_enable is used in block hybrid poll, the related function
definitions have been 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>
---
 block/blk-stat.h | 1 -
 1 file changed, 1 deletion(-)

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);
 
-- 
2.40.1
Re: [PATCH v2] block: delete redundant function declarations
Posted by Jens Axboe 1 year, 8 months ago
On Mon, 27 May 2024 16:45:33 +0800, hexue wrote:
> blk_stats_alloc_enable is used in block hybrid poll, the related function
> definitions have been removed by patch:
> commit 54bdd67d0f88 ("blk-mq: remove hybrid polling")
> but the function declaration was not deleted.
> 
> 

Applied, thanks!

[1/1] block: delete redundant function declarations
      commit: 30a0e3135f9aa14ba745f767375183b3112d7440

Best regards,
-- 
Jens Axboe