RE: [PATCH rtw-next v2 2/2] wifi: rtw89: remove conditional return with no effect
From: Ping-Ke Shih
Date: Sun Jul 26 2026 - 22:07:12 EST
Sang-Heon Jeon <ekffu200098@xxxxxxxxx> wrote:
> Both branches of the check return the same value, so the check has
> no effect. Remove it and return the value directly.
>
> This is the result of running the Coccinelle script from
> scripts/coccinelle/misc/cond_return_no_effect.cocci.
>
> Signed-off-by: Sang-Heon Jeon <ekffu200098@xxxxxxxxx>
I'd update the subject to be more specific during it gets merged.
"wifi: rtw89: remove conditional return with no effect in sys_init_*()"
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>