From: Yuwei Guan Date: Tue, 18 Oct 2022 03:01:39 +0000 (+0800) Subject: block, bfq: remove unused variable for bfq_queue X-Git-Tag: v6.1-rc5~8^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33566f92cd5f1c1d462920978f6dc102c744270d;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Paolo Valente Link: https://lore.kernel.org/r/20221018030139.159-1-Yuwei.Guan@zeekrlife.com Signed-off-by: Jens Axboe --- diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index 64ee618..71f7216 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