diff mbox series

blk-throttle: remove unused struct 'avg_latency_bucket'

Message ID 20240522172458.334173-1-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series blk-throttle: remove unused struct 'avg_latency_bucket' | expand

Commit Message

Dr. David Alan Gilbert May 22, 2024, 5:24 p.m. UTC
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(-)

Comments

Jens Axboe May 22, 2024, 5:31 p.m. UTC | #1
On Wed, 22 May 2024 18:24:58 +0100, linux@treblig.org wrote:
> 'avg_latency_bucket' is unused since
> commit bf20ab538c81 ("blk-throttle: remove
> CONFIG_BLK_DEV_THROTTLING_LOW")
> 
> Remove it.
> 
> 
> [...]

Applied, thanks!

[1/1] blk-throttle: remove unused struct 'avg_latency_bucket'
      commit: 4a482e691c8b8a188b1ea3d6a80180e9fa925fd0

Best regards,
diff mbox series

Patch

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 */