blk-mq: delete dead struct blk_mq_hw_ctx->queued field
authorChengming Zhou <zhouchengming@bytedance.com>
Thu, 20 Jul 2023 09:55:12 +0000 (17:55 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jul 2023 19:29:25 +0000 (13:29 -0600)
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>
include/linux/blk-mq.h

index b96e004..495ca19 100644 (file)
@@ -397,8 +397,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;