Re: [PATCH v2] memblock: remove conditional return with no effect

Mike Rapoport <[email protected]>
Newsgroups org.kvack.linux-mm
Message-ID <[email protected]>
On Mon, Aug 24, 2026 at 12:48:38AM +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.
> 
> Signed-off-by: Sang-Heon Jeon <[email protected]>

It's queued now and will appear in the memblock tree after the merge
window.


-- 
Sincerely yours,
Mike.
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.