* [PATCH -mm] ipc namespace: remove config ipc ns fix
@ 2007-09-03 20:22 Cedric Le Goater
0 siblings, 0 replies; only message in thread
From: Cedric Le Goater @ 2007-09-03 20:22 UTC (permalink / raw)
To: Linux Kernel Mailing List
Cc: Andrew Morton, Eric W. Biederman, Robert P. J. Day
Finish the work : kill all #ifdef CONFIG_IPC_NS.
Thanks Robert !
C.
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric Biederman <ebiederm@xmision.com>
Cc: Robert P. J. Day <rpjday@mindspring.com>
---
ipc/ipc_sysctl.c | 4 ----
1 file changed, 4 deletions(-)
Index: 2.6.23-rc4-mm1/ipc/ipc_sysctl.c
===================================================================
--- 2.6.23-rc4-mm1.orig/ipc/ipc_sysctl.c
+++ 2.6.23-rc4-mm1/ipc/ipc_sysctl.c
@@ -15,7 +15,6 @@
#include <linux/sysctl.h>
#include <linux/uaccess.h>
-#ifdef CONFIG_IPC_NS
static void *get_ipc(ctl_table *table)
{
char *which = table->data;
@@ -23,9 +22,6 @@ static void *get_ipc(ctl_table *table)
which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns;
return which;
}
-#else
-#define get_ipc(T) ((T)->data)
-#endif
#ifdef CONFIG_PROC_FS
static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-03 20:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 20:22 [PATCH -mm] ipc namespace: remove config ipc ns fix Cedric Le Goater
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.