diff mbox series

blk-mq: delete dead struct blk_mq_hw_ctx->queued field

Message ID 20230720095512.1403123-1-chengming.zhou@linux.dev (mailing list archive)
State New, archived
Headers show
Series blk-mq: delete dead struct blk_mq_hw_ctx->queued field | expand

Commit Message

Chengming Zhou July 20, 2023, 9:55 a.m. UTC
From: Chengming Zhou <zhouchengming@bytedance.com>

This counter is not used anywhere, so delete it.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
---
 include/linux/blk-mq.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Bart Van Assche July 20, 2023, 3:36 p.m. UTC | #1
On 7/20/23 02:55, chengming.zhou@linux.dev wrote:
> From: Chengming Zhou <zhouchengming@bytedance.com>
> 
> This counter is not used anywhere, so delete it.
> 
> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
> ---
>   include/linux/blk-mq.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
> index 01e8c31db665..958ed7e89b30 100644
> --- a/include/linux/blk-mq.h
> +++ b/include/linux/blk-mq.h
> @@ -393,8 +393,6 @@ struct blk_mq_hw_ctx {
>   	 */
>   	struct blk_mq_tags	*sched_tags;
>   
> -	/** @queued: Number of queued requests. */
> -	unsigned long		queued;
>   	/** @run: Number of dispatched requests. */
>   	unsigned long		run;

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Jens Axboe July 20, 2023, 7:29 p.m. UTC | #2
On Thu, 20 Jul 2023 17:55:12 +0800, chengming.zhou@linux.dev wrote:
> This counter is not used anywhere, so delete it.
> 
> 

Applied, thanks!

[1/1] blk-mq: delete dead struct blk_mq_hw_ctx->queued field
      commit: 3641c90c4e369c8d0af5483e879174400a152cf8

Best regards,
diff mbox series

Patch

diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 01e8c31db665..958ed7e89b30 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -393,8 +393,6 @@  struct blk_mq_hw_ctx {
 	 */
 	struct blk_mq_tags	*sched_tags;
 
-	/** @queued: Number of queued requests. */
-	unsigned long		queued;
 	/** @run: Number of dispatched requests. */
 	unsigned long		run;