Re: [cocci] (subset) [PATCH 29/36] rtc: pcf2127: remove conditional return with no effect

Alexandre Belloni <[email protected]>
Newsgroups fr.inria.cocci,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rtc
Message-ID <178726066531.423710.3877565026736920974.b4-ty@b4>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.