blk-throttle: remove unused struct 'avg_latency_bucket'
authorDr. David Alan Gilbert <linux@treblig.org>
Wed, 22 May 2024 17:24:58 +0000 (18:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 May 2024 17:30:47 +0000 (11:30 -0600)
'avg_latency_bucket' is unused since
commit bf20ab538c81 ("blk-throttle: remove
CONFIG_BLK_DEV_THROTTLING_LOW")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20240522172458.334173-1-linux@treblig.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c

index 80aaca1..0be180f 100644 (file)
@@ -39,11 +39,6 @@ struct latency_bucket {
        int samples;
 };
 
-struct avg_latency_bucket {
-       unsigned long latency; /* ns / 1024 */
-       bool valid;
-};
-
 struct throtl_data
 {
        /* service tree for active throtl groups */