linux-what-socketcall-20021031
authorDerrick Brashear <shadow@dementia.org>
Thu, 31 Oct 2002 20:12:59 +0000 (20:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 31 Oct 2002 20:12:59 +0000 (20:12 +0000)
we're not using it, so let's not use

src/afs/LINUX/osi_module.c

index e51a5fa..3e6c939 100644 (file)
@@ -34,9 +34,6 @@ RCSID("$Header$");
 #endif
 
 asmlinkage int (*sys_settimeofdayp)(struct timeval *tv, struct timezone *tz);
-#if !defined(AFS_ALPHA_LINUX20_ENV)
-asmlinkage int (*sys_socketcallp)(int call, long *args);
-#endif /* no socketcall on alpha */
 asmlinkage int (*sys_killp)(int pid, int signal);
 asmlinkage long (*sys_setgroupsp)(int gidsetsize, gid_t *grouplist);
 
@@ -229,9 +226,6 @@ int init_module(void)
     ((struct fptr *)sys_killp)->gp = kernel_gp;
 #else /* !AFS_IA64_LINUX20_ENV */
     sys_settimeofdayp = SYSCALL2POINTER sys_call_table[__NR_settimeofday];
-#ifdef __NR_socketcall
-    sys_socketcallp = SYSCALL2POINTER sys_call_table[__NR_socketcall];
-#endif /* no socketcall on alpha */
     sys_killp = SYSCALL2POINTER sys_call_table[__NR_kill];
 #endif /* AFS_IA64_LINUX20_ENV */