diff options
author | Yuli Wang <wangyuli@uniontech.com> | 2025-03-08 08:51:32 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-03-08 08:51:32 +0300 |
commit | a0d3c8bcb9206ac207c7ad3182027c6b0a1319bb (patch) | |
tree | 562deb27f47cf29d587fab72b0d7962021139808 /tools/perf/scripts/python/check-perf-trace.py | |
parent | da64a2359092ceec4f9dea5b329d0aef20104217 (diff) | |
download | linux-a0d3c8bcb9206ac207c7ad3182027c6b0a1319bb.tar.xz |
LoongArch: Eliminate superfluous get_numa_distances_cnt()
In LoongArch, get_numa_distances_cnt() isn't in use, resulting in a
compiler warning.
Fix follow errors with clang-18 when W=1e:
arch/loongarch/kernel/acpi.c:259:28: error: unused function 'get_numa_distances_cnt' [-Werror,-Wunused-function]
259 | static inline unsigned int get_numa_distances_cnt(struct acpi_table_slit *slit)
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Link: https://lore.kernel.org/all/Z7bHPVUH4lAezk0E@kernel.org/
Signed-off-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions