From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=8zbr0K/zgHQGJQjFRQL801da8q0Z7kN39/sqf1D1wrE=; b=lsCIJdhO2u2OZkc7p1Q2BMdKaN3Ggkhh70t7/igiSUiMUJsEh1kCB7BHhdNLrPfqdY pDA4OgYutxW+fZ+nH0GBeX7GN7a+ELJkd+z0Cesc0qOfHifLq0QRclH8teGDxPG4F8/7 6V7BBbuU3RGuqtejXVVaxwXALdInzkwOWrQquKrd3c3P6XfT1SWTeLCd5ht7krl1UMuR 7YpAn/zKxwra9GoKRynQAkkmsfX6byE6us+wFxOp0gggQ1aYTRsmEIPAIRkmuTsMi8Fo YRmxEIid5Kk+SjsxrALoGe9zaVwD+Kl6/OEMhM2VrEjTYJQjLkxr1SrXE1iO8X9EU5Wu v5xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8zbr0K/zgHQGJQjFRQL801da8q0Z7kN39/sqf1D1wrE=; b=MY8Y63rL7VYTH9HKb9BQhMbCdLLh64XwqXJj/z4wIcftlq8EcRwffnM4IcutTlbCxq V4j/1NwHe3QyW7LQFuRyC47wN2nXX1RW22AlWz0Pr+9UC4jbFB9/uvOgquBQcFrQzfl+ FEnQ6MBq2onVUMkoErMU9xccDEIeCONLUjz5uWkk+6CjVSlenx7ofO6/PB3mTMyuTqtx zPg3FQWqe/boSZ7CHuf/DptByCtj2guvhrTXZI4A+l2f9lOwhGkBBWExIzjpe4fSMFiX 04YonP+sl2eO52tEK3t7Ke3RxxXV80kG791CC9R/zEtLfLFHvS/sXutWOrAIeO2IO7Rv utuQ== X-Gm-Message-State: AKGB3mKkNi2KhUE3Tg8JFTdhem/jSqD0V/HBjz0Q30LS1aQywoQHSx1y eRb0XXWcEQ4wLb1KVezmPnItHaPb4TQ= X-Google-Smtp-Source: ACJfBoviPHO0w7yAPVQ5XiELlnuae8YT9Myk8Zfe6JRuBQGVnQkHpfACIA4RncTcOADKTjdwfXPdbw== X-Received: by 10.99.111.1 with SMTP id k1mr9846490pgc.401.1513294344591; Thu, 14 Dec 2017 15:32:24 -0800 (PST) Received: from xeon-e3.lan (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id p87sm9706584pfi.95.2017.12.14.15.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 15:32:23 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 14 Dec 2017 15:32:16 -0800 Message-Id: <20171214233221.30928-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 0/5] remove double parenthesis X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 23:32:26 -0000 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