Ver código fonte

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 anos atrás
pai
commit
357137a422
1 arquivos alterados com 1 adições e 1 exclusões
  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);
 		msleep(1);
 
 
-		if time_before(jiffies, next_msg)
+		if (time_before(jiffies, next_msg))
 			continue;
 			continue;
 
 
 		elapsed = jiffies_to_msecs(jiffies - start);
 		elapsed = jiffies_to_msecs(jiffies - start);