projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a42891
)
blk-throttle: remove unused struct 'avg_latency_bucket'
author
Dr. David Alan Gilbert
<linux@treblig.org>
Wed, 22 May 2024 17:24:58 +0000
(18:24 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 22 May 2024 17:30:47 +0000
(11:30 -0600)
'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>
block/blk-throttle.c
patch
|
blob
|
history
diff --git
a/block/blk-throttle.c
b/block/blk-throttle.c
index
80aaca1
..
0be180f
100644
(file)
--- 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 */