2023-09-28 09:00:18

by Charles Keepax

[permalink] [raw]
Subject: Re: [PATCH] ASoC: cs42l43: Remove useless else

On Thu, Sep 28, 2023 at 04:52:00PM +0800, Jiapeng Chong wrote:
> The assignment of the else and if branches is the same, so the else
> here is redundant, so we remove it.
>
> ./sound/soc/codecs/cs42l43-sdw.c:35:1-3: WARNING: possible condition with no effect (if == else).
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6712
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---

Acked-by: Charles Keepax <[email protected]>

Thanks,
Charles