Skip to content

Commit 3641c90

Browse files
Chengming Zhouaxboe
authored andcommitted
blk-mq: delete dead struct blk_mq_hw_ctx->queued field
This counter is not used anywhere, so delete it. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230720095512.1403123-1-chengming.zhou@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 7090426 commit 3641c90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/blk-mq.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,6 @@ struct blk_mq_hw_ctx {
397397
*/
398398
struct blk_mq_tags *sched_tags;
399399

400-
/** @queued: Number of queued requests. */
401-
unsigned long queued;
402400
/** @run: Number of dispatched requests. */
403401
unsigned long run;
404402

0 commit comments

Comments
 (0)