bridge: fix locking comment
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 24 Aug 2010 13:08:10 +0000 (13:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2010 23:36:50 +0000 (16:36 -0700)
The carrier check is not called from work queue in current code.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c

index c03d2c3ff03ed6cb99dc05d7a4cde5033d951190..1707945465226ced1322d6cffadfb5d6d986b423 100644 (file)
@@ -61,11 +61,7 @@ static int port_cost(struct net_device *dev)
 }
 
 
-/*
- * Check for port carrier transistions.
- * Called from work queue to allow for calling functions that
- * might sleep (such as speed check), and to debounce.
- */
+/* Check for port carrier transistions. */
 void br_port_carrier_check(struct net_bridge_port *p)
 {
        struct net_device *dev = p->dev;