[PATCH 24/36] pinctrl: mediatek: remove conditional return with no effect
Linus Walleij
linusw at kernel.org
Sat Jul 25 06:50:45 PDT 2026
On Thu, Jul 23, 2026 at 8:47 PM Sang-Heon Jeon <ekffu200098 at gmail.com> 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 at gmail.com>
Patch applied!
Yours,
Linus Walleij
More information about the Linux-mediatek
mailing list