bridge: Remove redundant npinfo NULL setting
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jun 2010 16:12:43 +0000 (16:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 17:58:38 +0000 (10:58 -0700)
Now that netpoll always zaps npinfo we no longer need to do it
in bridge.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c

index b898364beaf502ab4b0e8da6aeb991a9c70c3497..f8cb908db81fb9217484d9f7a2c444cae4f2c7fa 100644 (file)
@@ -231,7 +231,6 @@ void br_netpoll_cleanup(struct net_device *dev)
        struct net_bridge_port *p, *n;
        const struct net_device_ops *ops;
 
-       br->dev->npinfo = NULL;
        list_for_each_entry_safe(p, n, &br->port_list, list) {
                if (p->dev) {
                        ops = p->dev->netdev_ops;