Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 4a482e6

Browse files
Dr. David Alan Gilbertaxboe
authored andcommitted
blk-throttle: remove unused struct 'avg_latency_bucket'
'avg_latency_bucket' is unused since commit bf20ab5 ("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>
1 parent 9a42891 commit 4a482e6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

block/blk-throttle.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ struct latency_bucket {
3939
int samples;
4040
};
4141

42-
struct avg_latency_bucket {
43-
unsigned long latency; /* ns / 1024 */
44-
bool valid;
45-
};
46-
4742
struct throtl_data
4843
{
4944
/* service tree for active throtl groups */

0 commit comments

Comments
 (0)