summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-02-10 10:45:51 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:31 +0100
commitcb799b8988e40a7871ae8e976248c33c562e3555 (patch)
tree287c24198d50b7d6f3918a87d357fca6ca5c5003 /kernel/sysctl.c
parent[PATCH] schedule obsolete OSS drivers for removal, 3rd round (diff)
downloadlinux-cb799b8988e40a7871ae8e976248c33c562e3555.tar.xz
linux-cb799b8988e40a7871ae8e976248c33c562e3555.zip
[PATCH] sysctl warning fix
kernel/sysctl.c:2816: warning: 'sysctl_ipc_data' defined but not used Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7733ef58aaca..84cab0ce44d9 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2767,12 +2767,14 @@ static int sysctl_uts_string(ctl_table *table, int __user *name, int nlen,
{
return -ENOSYS;
}
+#ifdef CONFIG_SYSVIPC
static int sysctl_ipc_data(ctl_table *table, int __user *name, int nlen,
void __user *oldval, size_t __user *oldlenp,
void __user *newval, size_t newlen)
{
return -ENOSYS;
}
+#endif
#endif /* CONFIG_SYSCTL_SYSCALL */
/*