From: Daniel Wagner <daniel.wagner@xxxxxxxxxxx> GCC on a BeagleBoneBlack complains: In file included from src/cyclictest/cyclictest.c:39:0: src/cyclictest/rt_numa.h:253:13: warning: ‘numa_on_and_available’ defined but not used [-Wunused-function] static void numa_on_and_available() ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxx> --- src/cyclictest/rt_numa.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/cyclictest/rt_numa.h b/src/cyclictest/rt_numa.h index e8cd7f481baa..e0f4b2e9d8b2 100644 --- a/src/cyclictest/rt_numa.h +++ b/src/cyclictest/rt_numa.h @@ -249,13 +249,6 @@ static inline void rt_bitmask_free(struct bitmask *mask) free(mask); } - -static void numa_on_and_available() -{ - if (numa) /* NUMA is not defined here */ - fatal("numa mode and numa functions not available.\n"); -} - #endif /* NUMA */ /* -- 2.20.1