[PATCH] arch/powerpc: Remove duplicate ifdefs

Michael Ellerman patch-notifications at ellerman.id.au
Thu Feb 22 10:08:43 AEDT 2024


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


More information about the Linuxppc-dev mailing list