X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ipc%2Fipc_sysctl.c;h=79e24e878c1eae6d2dc1247f72dec8de71ce2108;hb=6bf1574ee33270e7c0b9d43103e8cedffd9f74db;hp=a88934a1b76906e71663f163cd175ab5bce8c0dd;hpb=920841d8d1d61bc12b43f95a579a5374f6d98f81;p=linux-2.6 diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index a88934a1b7..79e24e878c 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -15,7 +15,6 @@ #include #include -#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,