diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-22 00:09:49 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-25 08:39:29 +1000 |
commit | 1eafbd8764b10798934344bd40395b27cec63145 (patch) | |
tree | d92ed006eba647fe6bd250b9aa6e0dad714fdaa1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eac030b22ea12cdfcbb2e941c21c03964403c63f (diff) |
powerpc/powermac: Fix unused function warning
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.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308181501.AR5HMDWC-lkp@intel.com/
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230821140949.491881-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions