> -----Original Message----- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, August 29, 2017 2:43 PM > To: David Harton (dharton) <dhar...@cisco.com> > Cc: konstantin.anan...@intel.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets > > On Tue, 29 Aug 2017 11:50:56 -0400 > David Harton <dhar...@cisco.com> wrote: > > > + if (n < (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS)) > > + return (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS); > > Please don't use BSD style. > Return does not need parenthesis.
Sure.