diff options
-rw-r--r-- | net/tipc/socket.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 42b8324ff2ee..e2f7c5d370ba 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -185,9 +185,6 @@ static int tipc_create(struct net *net, struct socket *sock, int protocol, | |||
185 | 185 | ||
186 | /* Validate arguments */ | 186 | /* Validate arguments */ |
187 | 187 | ||
188 | if (!net_eq(net, &init_net)) | ||
189 | return -EAFNOSUPPORT; | ||
190 | |||
191 | if (unlikely(protocol != 0)) | 188 | if (unlikely(protocol != 0)) |
192 | return -EPROTONOSUPPORT; | 189 | return -EPROTONOSUPPORT; |
193 | 190 | ||