From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 0/5] remove double parenthesis Date: Thu, 14 Dec 2017 15:32:16 -0800 Message-ID: <20171214233221.30928-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by dpdk.org (Postfix) with ESMTP id 017B1E5D for ; Fri, 15 Dec 2017 00:32:25 +0100 (CET) Received: by mail-pg0-f68.google.com with SMTP id j9so4489355pgc.11 for ; Thu, 14 Dec 2017 15:32:25 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Noticed in ethdev an obvious case of extra parenthesis so went hunting for others as well. There seems to be some weird coding standard that loves extra parenthesis (or developers don't understand basic C precedence rules). Stephen Hemminger (5): bnx2x: remove (redundant) parenthesis kni: remove (redundant) parenthesis ethdev: remove (redundant) parenthesis distributor: remove (unnecessary) parenthesis loadbalancer: remove (unnecessary) parenthesis drivers/net/bnx2x/bnx2x.c | 2 +- drivers/net/bnx2x/ecore_sp.c | 4 ++-- examples/load_balancer/config.c | 2 +- lib/librte_distributor/rte_distributor.c | 2 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 4 ++-- lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c | 6 +++--- lib/librte_ether/rte_ethdev.c | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) -- 2.11.0