Skip to content

Commit 4a482e6

Browse files
Dr. David Alan Gilbertaxboe
Dr. David Alan Gilbert
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
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)