]> git.baikalelectronics.ru Git - kernel.git/commitdiff
block, bfq: remove unused variable for bfq_queue
authorYuwei Guan <ssawgyw@gmail.com>
Tue, 18 Oct 2022 03:01:39 +0000 (11:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Oct 2022 12:46:49 +0000 (05:46 -0700)
it defined in 730cd86a59ae1, 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>
block/bfq-iosched.h

index 64ee618064ba14f5e9b5608ede0249cb4407615f..71f721670ab6214f13f32c6f8aacd035a1433ecb 100644 (file)
@@ -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