]> Pileus Git - ~andy/linux/commitdiff
ipv4: ipconfig.c: add parentheses in an if statement
authorFX Le Bail <fx.lebail@yahoo.com>
Mon, 10 Feb 2014 15:46:54 +0000 (16:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2014 05:14:23 +0000 (00:14 -0500)
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>
net/ipv4/ipconfig.c

index efa1138fa523be1ed228b66accbfa9ed75920265..b3e86ea7b71b7e480ce64d243e3c1951484a7cbb 100644 (file)
@@ -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);