summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2024-09-03 15:51:48 +0200
committerJens Axboe <axboe@kernel.dk>2024-09-11 00:31:41 +0200
commit3bf73e6283ef0bae4e27dad62309e50e3bf7ee88 (patch)
treedbdb7a65c4e0830ed590b9b58bc7cf84aed2f9c4 /block/blk-throttle.h
parentdrbd: Add NULL check for net_conf to prevent dereference in state validation (diff)
downloadlinux-3bf73e6283ef0bae4e27dad62309e50e3bf7ee88.tar.xz
linux-3bf73e6283ef0bae4e27dad62309e50e3bf7ee88.zip
blk-throttle: remove last_low_overflow_time
last_low_overflow_time is not used anymore after commit bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW"). Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20240903135149.271857-2-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.h')
-rw-r--r--block/blk-throttle.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-throttle.h b/block/blk-throttle.h
index 4d9ef5abdf21..1a36d1278eea 100644
--- a/block/blk-throttle.h
+++ b/block/blk-throttle.h
@@ -106,8 +106,6 @@ struct throtl_grp {
/* Number of bio's dispatched in current slice */
unsigned int io_disp[2];
- unsigned long last_low_overflow_time[2];
-
uint64_t last_bytes_disp[2];
unsigned int last_io_disp[2];