summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2023-07-20 11:55:12 +0200
committerJens Axboe <axboe@kernel.dk>2023-07-20 21:29:25 +0200
commit3641c90c4e369c8d0af5483e879174400a152cf8 (patch)
treea7eaa2ff51c2a9fc2aacda4290719fd0d78c8eff /include
parentblk-mq: Fix stall due to recursive flush plug (diff)
downloadlinux-3641c90c4e369c8d0af5483e879174400a152cf8.tar.xz
linux-3641c90c4e369c8d0af5483e879174400a152cf8.zip
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;