From d6950d4ec9615b8c177da1ca28c5eefb7bca490d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 6 Jan 2012 14:55:30 -0800 Subject: Comment out sys_get_number_of_cores() as we're no longer using this. --- source3/include/proto.h | 2 ++ source3/lib/system.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9dcd334404..2bccaa6406 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -390,7 +390,9 @@ int sys_lsetxattr (const char *path, const char *name, const void *value, size_t int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags); uint32 unix_dev_major(SMB_DEV_T dev); uint32 unix_dev_minor(SMB_DEV_T dev); +#if 0 int sys_get_number_of_cores(void); +#endif int sys_aio_read(SMB_STRUCT_AIOCB *aiocb); int sys_aio_write(SMB_STRUCT_AIOCB *aiocb); ssize_t sys_aio_return(SMB_STRUCT_AIOCB *aiocb); diff --git a/source3/lib/system.c b/source3/lib/system.c index 6934f62710..821dd8d957 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -2480,6 +2480,7 @@ uint32 unix_dev_minor(SMB_DEV_T dev) #endif } +#if 0 /******************************************************************* Return the number of CPUs. ********************************************************************/ @@ -2524,6 +2525,7 @@ int sys_get_number_of_cores(void) } return ret; } +#endif #if defined(WITH_AIO) -- cgit