summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-22 18:24:58 +0100
committerJens Axboe <axboe@kernel.dk>2024-05-22 11:30:47 -0600
commit4a482e691c8b8a188b1ea3d6a80180e9fa925fd0 (patch)
tree42eb0b301e778130a68a5077c08d19fbcea1fcfd /block
parent9a42891c35d50a8472b42c61256867b4dfcc1941 (diff)
blk-throttle: remove unused struct 'avg_latency_bucket'
'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>
Diffstat (limited to 'block')
-rw-r--r--block/blk-throttle.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 80aaca18bfb0..0be180f9a789 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -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 */