From patchwork Mon Feb 10 15:46:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FX Le Bail X-Patchwork-Id: 318803 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 827312C00A5 for ; Tue, 11 Feb 2014 03:16:22 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753009AbaBJQQS (ORCPT ); Mon, 10 Feb 2014 11:16:18 -0500 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:39533 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752148AbaBJQQQ (ORCPT ); Mon, 10 Feb 2014 11:16:16 -0500 Received: from l-fxstation-3a.rd.francetelecom.fr ([86.214.125.100]) by mwinf5d06 with ME id QgG81n00J2A5QaW03gGDNV; Mon, 10 Feb 2014 17:16:14 +0100 From: Francois-Xavier Le Bail To: NETDEV Cc: David Miller Subject: [PATCH] ipv4: ipconfig.c: add parentheses in an if statement Date: Mon, 10 Feb 2014 16:46:54 +0100 Message-Id: <1392047214-21237-1-git-send-email-fx.lebail@yahoo.com> X-Mailer: git-send-email 1.7.10.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Even if the 'time_before' macro expand with parentheses, the look is bad. Signed-off-by: Francois-Xavier Le Bail --- net/ipv4/ipconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index efa1138..b3e86ea 100644 --- a/net/ipv4/ipconfig.c +++ b/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);