[PATCH] block: delete redundant function declarations

hexue posted 1 patch 1 year, 8 months ago
There is a newer version of this series
block/blk-stat.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] block: delete redundant function declarations
Posted by hexue 1 year, 8 months ago
From: Xue He <xue01.he@samsung.com>

It is used in block hybrid poll, the related function
definitions have been removed, but the function
declaration has not been delelted.

Signed-off-by: Xue He <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] block: delete redundant function declarations
Posted by Kanchan Joshi 1 year, 8 months ago
On 5/27/2024 7:59 AM, hexue wrote:
> From: Xue He <xue01.he@samsung.com>
> 
> It is used in block hybrid poll, the related function

It -> blk_stats_alloc_enable

Also, you might want to mention the patch that removed it.
54bdd67d0f88 blk-mq: remove hybrid polling


> definitions have been removed, but the function
> declaration has not been delelted.
delelted -> deleted.
Re: Re: [PATCH] block: delete redundant function declarations
Posted by hexue 1 year, 8 months ago
On 5/27/2024 11:09 AM, Kanchan Joshi wrote:
>On 5/27/2024 7:59 AM, hexue wrote:
>> From: Xue He <xue01.he@samsung.com>
>> 
>> It is used in block hybrid poll, the related function
>
>It -> blk_stats_alloc_enable
>
>Also, you might want to mention the patch that removed it.
>54bdd67d0f88 blk-mq: remove hybrid polling
>
>
>> definitions have been removed, but the function
>> declaration has not been delelted.
>delelted -> deleted.

Thanks, will modify these and submit v2.