Re: [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/20/23 02:55, chengming.zhou@xxxxxxxxx wrote:
From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

This counter is not used anywhere, so delete it.

Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
---
  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@xxxxxxx>



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux