浏览代码

bridge: fix locking comment

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>
Stephen Hemminger 15 年之前
父节点
当前提交
944c794d64
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      net/bridge/br_if.c

+ 1 - 5
net/bridge/br_if.c

@@ -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)
 void br_port_carrier_check(struct net_bridge_port *p)
 {
 {
 	struct net_device *dev = p->dev;
 	struct net_device *dev = p->dev;