diff options
Diffstat (limited to 'include/net/net_namespace.h')
| -rw-r--r-- | include/net/net_namespace.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 82b7be4db89a..bd10a7908993 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
| @@ -100,14 +100,9 @@ struct net { | |||
| 100 | extern struct net init_net; | 100 | extern struct net init_net; |
| 101 | 101 | ||
| 102 | #ifdef CONFIG_NET | 102 | #ifdef CONFIG_NET |
| 103 | #define INIT_NET_NS(net_ns) .net_ns = &init_net, | ||
| 104 | |||
| 105 | extern struct net *copy_net_ns(unsigned long flags, struct net *net_ns); | 103 | extern struct net *copy_net_ns(unsigned long flags, struct net *net_ns); |
| 106 | 104 | ||
| 107 | #else /* CONFIG_NET */ | 105 | #else /* CONFIG_NET */ |
| 108 | |||
| 109 | #define INIT_NET_NS(net_ns) | ||
| 110 | |||
| 111 | static inline struct net *copy_net_ns(unsigned long flags, struct net *net_ns) | 106 | static inline struct net *copy_net_ns(unsigned long flags, struct net *net_ns) |
| 112 | { | 107 | { |
| 113 | /* There is nothing to copy so this is a noop */ | 108 | /* There is nothing to copy so this is a noop */ |
