diff options
-rw-r--r-- | ipc/ipc_sysctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index a88934a1b769..79e24e878c1e 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/sysctl.h> | 15 | #include <linux/sysctl.h> |
16 | #include <linux/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #ifdef CONFIG_IPC_NS | ||
19 | static void *get_ipc(ctl_table *table) | 18 | static void *get_ipc(ctl_table *table) |
20 | { | 19 | { |
21 | char *which = table->data; | 20 | char *which = table->data; |
@@ -23,9 +22,6 @@ static void *get_ipc(ctl_table *table) | |||
23 | which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; | 22 | which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; |
24 | return which; | 23 | return which; |
25 | } | 24 | } |
26 | #else | ||
27 | #define get_ipc(T) ((T)->data) | ||
28 | #endif | ||
29 | 25 | ||
30 | #ifdef CONFIG_PROC_FS | 26 | #ifdef CONFIG_PROC_FS |
31 | static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp, | 27 | static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp, |