[PATCH] powerpc/powermac: Fix unused function warning

Michael Ellerman patch-notifications at ellerman.id.au
Thu Aug 31 14:02:30 AEST 2023


On Tue, 22 Aug 2023 00:09:49 +1000, Michael Ellerman wrote:
> Clang reports:
>   arch/powerpc/platforms/powermac/feature.c:137:19: error: unused function 'simple_feature_tweak'
> 
> It's only used inside the #ifndef CONFIG_PPC64 block, so move it in
> there to fix the warning. While at it drop the inline, the compiler will
> decide whether it should be inlined or not.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/powermac: Fix unused function warning
      https://git.kernel.org/powerpc/c/1eafbd8764b10798934344bd40395b27cec63145

cheers


More information about the Linuxppc-dev mailing list