mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
ipc namespace: remove config ipc ns fix
Finish the work : kill all #ifdef CONFIG_IPC_NS. Thanks Robert ! Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Eric Biederman <ebiederm@xmision.com> Cc: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c98673fee2
commit
a08b4be74c
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue