summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2023-07-20 17:55:12 +0800
committerJens Axboe <axboe@kernel.dk>2023-07-20 13:29:25 -0600
commit3641c90c4e369c8d0af5483e879174400a152cf8 (patch)
treea7eaa2ff51c2a9fc2aacda4290719fd0d78c8eff /include
parent70904263512a74a3b8941dd9e6e515ca6fc57821 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blk-mq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index b96e00499f9e..495ca198775f 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -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;