diff options
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/spinlock.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/tdb/spinlock.c b/source3/tdb/spinlock.c index e6abb3a0bc..e42a6901c7 100644 --- a/source3/tdb/spinlock.c +++ b/source3/tdb/spinlock.c @@ -266,23 +266,6 @@ static void yield_cpu(void) #endif } -static int this_is_smp(void) -{ -#if defined(HAVE_SYSCONF) - -#if defined(SYSCONF_SC_NPROC_ONLN) - return (sysconf(_SC_NPROC_ONLN) > 1) ? 1 : 0; -#elif defined(SYSCONF_SC_NPROCESSORS_ONLN) - return (sysconf(_SC_NPROCESSORS_ONLN) > 1) ? 1 : 0; -#else - return 0; -#endif - -#else - return 0; -#endif -} - /* * GENERIC */ |