Re: [PATCH] blk-throttle: clean up codes that can't be reached

From: Tejun Heo
Date: Sun Sep 04 2022 - 15:25:15 EST


On Sat, Sep 03, 2022 at 02:28:26PM +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

.low never really worked well. We might as well try removing it.

Thanks.

--
tejun