summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>2020-05-09 00:00:14 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-29 16:30:39 -0600
commit26e0ca12e07677ca5946ed98a1e41255016f6910 (patch)
tree5beb21c7405832b0bd82452ae00087f70a4cce96 /block/blk-wbt.c
parent32e3374304c7c317c05a61f3ddc315dbd46424f2 (diff)
downloadlinux-26e0ca12e07677ca5946ed98a1e41255016f6910.tar.gz
linux-26e0ca12e07677ca5946ed98a1e41255016f6910.tar.bz2
linux-26e0ca12e07677ca5946ed98a1e41255016f6910.zip
blk-wbt: remove wbt_update_limits
No one call this function after commit 2af2783f2ea4f ("rq-qos: get rid of redundant wbt_update_limits()"), so remove it. Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
-rw-r--r--block/blk-wbt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 9cb082f38b93..78bb624cce53 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -418,14 +418,6 @@ static void __wbt_update_limits(struct rq_wb *rwb)
rwb_wake_all(rwb);
}
-void wbt_update_limits(struct request_queue *q)
-{
- struct rq_qos *rqos = wbt_rq_qos(q);
- if (!rqos)
- return;
- __wbt_update_limits(RQWB(rqos));
-}
-
u64 wbt_get_min_lat(struct request_queue *q)
{
struct rq_qos *rqos = wbt_rq_qos(q);