Skip to content
Commit 39253602 authored by Lei Chen's avatar Lei Chen Committed by Greg Kroah-Hartman
Browse files

block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init



commit 5a20d073 upstream.

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: default avatarLei Chen <lennychen@tencent.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab6aaa82
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment