Skip to content

remove double parenthesis

Stephen Hemminger dpdk-dev 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5bnx2x: remove (redundant) parenthesisdrivers/net/bnx2x/bnx2x.c drivers/net/bnx2x/ecore_sp.c+3 -30 replies
2/5kni: remove (redundant) parenthesislib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c+5 -50 replies
3/5ethdev: remove (redundant) parenthesislib/librte_ether/rte_ethdev.c+2 -20 replies
4/5distributor: remove (unnecessary) parenthesislib/librte_distributor/rte_distributor.c+1 -10 replies
5/5loadbalancer: remove (unnecessary) parenthesisexamples/load_balancer/config.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] remove double parenthesis

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(-)
Signature · 1 line
2.11.0