summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorYuwei Guan <ssawgyw@gmail.com>2022-10-18 11:01:39 +0800
committerJens Axboe <axboe@kernel.dk>2022-10-20 05:46:49 -0700
commit33566f92cd5f1c1d462920978f6dc102c744270d (patch)
treea1bd81cb20da8a53e1bd3849d461e58bc2b9e15a /block
parent6d42ddf7f27b6723549ee6d4c8b1b418b59bf6b5 (diff)
downloadlinux-stable-33566f92cd5f1c1d462920978f6dc102c744270d.tar.gz
linux-stable-33566f92cd5f1c1d462920978f6dc102c744270d.tar.bz2
linux-stable-33566f92cd5f1c1d462920978f6dc102c744270d.zip
block, bfq: remove unused variable for bfq_queue
it defined in d0edc2473be9d, but there's nowhere to use it, so remove it. Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com> Acked-by: Paolo Valente <paolo.valente@linaro.org> Link: https://lore.kernel.org/r/20221018030139.159-1-Yuwei.Guan@zeekrlife.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bfq-iosched.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 64ee618064ba..71f721670ab6 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -369,12 +369,8 @@ struct bfq_queue {
unsigned long split_time; /* time of last split */
unsigned long first_IO_time; /* time of first I/O for this queue */
-
unsigned long creation_time; /* when this queue is created */
- /* max service rate measured so far */
- u32 max_service_rate;
-
/*
* Pointer to the waker queue for this queue, i.e., to the
* queue Q such that this queue happens to get new I/O right