Message ID | 20190605160617.22987-2-wagi@monom.org |
---|---|
State | New |
Headers | show |
Series | rt-tests: Add --duration argument to tests | expand |
On Wed, 5 Jun 2019, Daniel Wagner wrote: > From: Daniel Wagner <daniel.wagner@siemens.com> > > 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@siemens.com> > --- > 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 */ > > /* > -- Signed-off-by: John Kacur <jkacur@redhat.com>
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 */ /*