瀏覽代碼

ipv4: ipconfig.c: add parentheses in an if statement

Even if the 'time_before' macro expand with parentheses, the look is bad.

Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
FX Le Bail 12 年之前
父節點
當前提交
357137a422
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/ipv4/ipconfig.c

+ 1 - 1
net/ipv4/ipconfig.c

@@ -273,7 +273,7 @@ static int __init ic_open_devs(void)
 
 		msleep(1);
 
-		if time_before(jiffies, next_msg)
+		if (time_before(jiffies, next_msg))
 			continue;
 
 		elapsed = jiffies_to_msecs(jiffies - start);