Skip to contentSkip to conversation

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

PATCH Applied [email protected] 3 participants 3 messages Jul 20, 2023 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blk-mq: delete dead struct blk_mq_hw_ctx->queued field

From: Chengming Zhou <[email protected]>

This counter is not used anywhere, so delete it.

---
 include/linux/blk-mq.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blk-mq.h +0 -2
index 01e8c31db665..958ed7e89b30 100644
@@ -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;
 
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · On 7/20/23 02:55, [email protected] wrote:

From: Chengming Zhou <[email protected]>

This counter is not used anywhere, so delete it.

---
  include/linux/blk-mq.h | 2 --
  1 file changed, 2 deletions(-)
include/linux/blk-mq.h +0 -0
index 01e8c31db665..958ed7e89b30 100644

include/linux/blk-mq.h struct blk_mq_hw_ctx { · line 397

Quoted 7 lines
include/linux/blk-mq.h +0 -2
@@ -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;
maintainer Applied
#2 lore raw
In reply to [email protected]
Quoted 3 lines · On Thu, 20 Jul 2023 17:55:12 +0800, [email protected] 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,

Signature · 1 line
Jens Axboe