Re: (subset) [PATCH 29/36] rtc: pcf2127: remove conditional return with no effect
From: Alexandre Belloni
Date: Thu Aug 20 2026 - 17:34:01 EST
On Fri, 24 Jul 2026 03:45:31 +0900, Sang-Heon Jeon 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.
>
>
> [...]
Applied, thanks!
[29/36] rtc: pcf2127: remove conditional return with no effect
https://git.kernel.org/abelloni/c/b1407862fb57
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com