block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
authorLei Chen <lennychen@tencent.com>
Mon, 30 Nov 2020 02:20:52 +0000 (10:20 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Nov 2020 22:01:18 +0000 (15:01 -0700)
commit5a20d073ec54a72d9a732fa44bfe14954eb6332f
tree57925b7a8b605419b02895dc5d9dc83e573c999c
parent63653368c25ff0b1b1aaf045c97ea87bd8c16123
block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init

It's unnecessary to call wbt_update_limits explicitly within wbt_init,
because it will be called in the following function wbt_queue_depth_changed.

Signed-off-by: Lei Chen <lennychen@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c