bridge: convert to net_device_ops
[safe/jmp/linux-2.6] / net / bridge / br_stp_bpdu.c
index 9964761..81ae40b 100644 (file)
@@ -140,9 +140,6 @@ void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb,
        struct net_bridge *br;
        const unsigned char *buf;
 
-       if (dev_net(dev) != &init_net)
-               goto err;
-
        if (!p)
                goto err;