From: Stephen Hemminger Date: Tue, 24 Aug 2010 13:08:10 +0000 (+0000) Subject: bridge: fix locking comment X-Git-Tag: v2.6.37-rc1~147^2~665 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=944c794d6437e5301c8769cb242c2b919a5acf59;p=net-next-2.6.git bridge: fix locking comment The carrier check is not called from work queue in current code. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index c03d2c3ff03..17079454652 100644 --- a/net/bridge/br_if.c +++ b/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) { struct net_device *dev = p->dev;