[RESEND PATCH] block, bfq: remove unused variable for bfq_queue

Yuwei Guan posted 1 patch 3 years, 5 months ago
There is a newer version of this series
block/bfq-iosched.h | 3 ---
1 file changed, 3 deletions(-)
[RESEND PATCH] block, bfq: remove unused variable for bfq_queue
Posted by Yuwei Guan 3 years, 5 months ago
it defined in d0edc2473be9d, but there's nowhere to use it,
so remove it.

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
---
 block/bfq-iosched.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 64ee618064ba..6bcef8e5871a 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -369,11 +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
-- 
2.34.1