Remove sysconf override

__getpagesize is defined as non-throwing in <bits/shm.h>, but here
it's missing this specification. This may cause compilation errors
if the compiler knows by now about the correct signature.

As apparently sysconf is not needed to be in LSS remove the whole
function.

Change-Id: Ie9f8b5df6713e71925cc87f223c83709156e7dfd
Reviewed-on: https://chromium-review.googlesource.com/860968
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mark Seaborn <mseaborn@chromium.org>
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index 605a368..129aa75 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -4334,26 +4334,6 @@
     return LSS_NAME(setpgid)(0, 0);
   }
 
-  LSS_INLINE int LSS_NAME(sysconf)(int name) {
-    extern int __getpagesize(void);
-    switch (name) {
-      case _SC_OPEN_MAX: {
-        struct kernel_rlimit limit;
-#if defined(__ARM_EABI__)
-        return LSS_NAME(ugetrlimit)(RLIMIT_NOFILE, &limit) < 0
-            ? 8192 : limit.rlim_cur;
-#else
-        return LSS_NAME(getrlimit)(RLIMIT_NOFILE, &limit) < 0
-            ? 8192 : limit.rlim_cur;
-#endif
-      }
-      case _SC_PAGESIZE:
-        return __getpagesize();
-      default:
-        LSS_ERRNO = ENOSYS;
-        return -1;
-    }
-  }
   #if defined(__x86_64__)
     /* Need to make sure loff_t isn't truncated to 32-bits under x32.  */
     LSS_INLINE ssize_t LSS_NAME(pread64)(int f, void *b, size_t c, loff_t o) {