From: Herbert Xu Date: Thu, 10 Jun 2010 16:12:43 +0000 (+0000) Subject: bridge: Remove redundant npinfo NULL setting X-Git-Tag: MMI-PSA29.97-13-9~23092^2~588 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=36655042f9873efc2a90d251b9aef9b6b79d75d8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git bridge: Remove redundant npinfo NULL setting Now that netpoll always zaps npinfo we no longer need to do it in bridge. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index b898364beaf5..f8cb908db81f 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -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;