Re: [PATCH] arch/powerpc: Remove duplicate ifdefs
From: Michael Ellerman <hidden>
Date: 2024-02-21 23:09:59
From: Michael Ellerman <hidden>
Date: 2024-02-21 23:09:59
On Fri, 16 Feb 2024 11:00:16 +0530, Shrikanth Hegde wrote:
When a ifdef is used in the below manner, second one could be considered as duplicate. ifdef DEFINE_A ...code block... ifdef DEFINE_A <-- This is a duplicate. ...code block... endif else ifndef DEFINE_A <-- This is also duplicate. ...code block... endif endif More details about the script and methods used to find these code patterns are in cover letter of [1] [...]
Applied to powerpc/next.
[1/1] arch/powerpc: Remove duplicate ifdefs
https://git.kernel.org/powerpc/c/8c328de8fd5046eb3ec5a7ff7b682a8175e986c3
cheers