* [PATCH] blk-throttle: remove unused struct 'avg_latency_bucket'
@ 2024-05-22 17:24 linux
2024-05-22 17:31 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-22 17:24 UTC (permalink / raw)
To: tj, axboe, yukuai3
Cc: cgroups, linux-block, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'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>
---
block/blk-throttle.c | 5 -----
1 file changed, 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 */
--
2.45.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-22 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22 17:24 [PATCH] blk-throttle: remove unused struct 'avg_latency_bucket' linux
2024-05-22 17:31 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox