usbnet: convert catc device to net_device_ops
[safe/jmp/linux-2.6] / drivers / net / pppox.c
index ee9d3cf..4f6d33f 100644 (file)
@@ -111,10 +111,6 @@ static int pppox_create(struct net *net, struct socket *sock, int protocol)
        if (protocol < 0 || protocol > PX_MAX_PROTO)
                goto out;
 
-       /* we support net-namespaces for PPPoE only (yet) */
-       if (protocol != PX_PROTO_OE && net != &init_net)
-               return -EAFNOSUPPORT;
-
        rc = -EPROTONOSUPPORT;
        if (!pppox_protos[protocol])
                request_module("pppox-proto-%d", protocol);