Commit 944c794d authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

bridge: fix locking comment

The carrier check is not called from work queue in current code.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2aff963
...@@ -61,11 +61,7 @@ static int port_cost(struct net_device *dev) ...@@ -61,11 +61,7 @@ static int port_cost(struct net_device *dev)
} }
/* /* Check for port carrier transistions. */
* Check for port carrier transistions.
* Called from work queue to allow for calling functions that
* might sleep (such as speed check), and to debounce.
*/
void br_port_carrier_check(struct net_bridge_port *p) void br_port_carrier_check(struct net_bridge_port *p)
{ {
struct net_device *dev = p->dev; struct net_device *dev = p->dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment