diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-09-03 08:28:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-04 22:38:18 +0200 |
commit | 2d8f7a3b9fb31d2566b24fd94d5a533f9322c53c (patch) | |
tree | a66bf2b4d872d050a909902350de4fe521a45ce3 /block/blk-map.c | |
parent | Revert "sbitmap: fix batched wait_cnt accounting" (diff) | |
download | linux-2d8f7a3b9fb31d2566b24fd94d5a533f9322c53c.tar.xz linux-2d8f7a3b9fb31d2566b24fd94d5a533f9322c53c.zip |
blk-throttle: clean up codes that can't be reached
While doing code coverage testing while CONFIG_BLK_DEV_THROTTLING_LOW is
disabled, we found that there are many codes can never be reached.
This patch move such codes inside "#ifdef CONFIG_BLK_DEV_THROTTLING_LOW".
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220903062826.1099085-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions