Re: [PATCH] powerpc/powermac: Fix unused function warning
From: Michael Ellerman <hidden>
Date: 2023-08-31 04:12:20
From: Michael Ellerman <hidden>
Date: 2023-08-31 04:12:20
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