]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
blk-wbt: remove unnecessary check in wbt_enable_default()
authorYu Kuai <yukuai3@huawei.com>
Wed, 19 Oct 2022 12:15:14 +0000 (20:15 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Oct 2022 00:59:17 +0000 (18:59 -0600)
commitb11d31ae01e6b0762b28e645ad6718a12faa8d14
treeda25c2521a697e192aa2b5f8755ce788d9c79790
parent6d9f4cf125585ebf0718abcf5ce9ca898877c6d2
blk-wbt: remove unnecessary check in wbt_enable_default()

If CONFIG_BLK_WBT_MQ is disabled, wbt_init() won't do anything.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221019121518.3865235-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c