From: Andrew Morton Date: Sat, 10 Feb 2007 09:45:51 +0000 (-0800) Subject: [PATCH] sysctl warning fix X-Git-Tag: MMI-PSA29.97-13-9~45115^2~305 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb799b8988e40a7871ae8e976248c33c562e3555;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] sysctl warning fix kernel/sysctl.c:2816: warning: 'sysctl_ipc_data' defined but not used Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 */ /*