diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-10-19 14:15:14 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-24 02:59:17 +0200 |
commit | b11d31ae01e6b0762b28e645ad6718a12faa8d14 (patch) | |
tree | da25c2521a697e192aa2b5f8755ce788d9c79790 /block/blk-wbt.h | |
parent | elevator: remove redundant code in elv_unregister_queue() (diff) | |
download | linux-b11d31ae01e6b0762b28e645ad6718a12faa8d14.tar.xz linux-b11d31ae01e6b0762b28e645ad6718a12faa8d14.zip |
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>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions