From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [dpdk-stable] [PATCH] net/bonding: remove useless assignment Date: Tue, 14 Feb 2017 14:11:58 +0800 Message-ID: <20170214061158.GT20916@yliu-dev.sh.intel.com> References: <20170124211555.16539-1-emmanuel.roullit@gmail.com> <11b78957-934a-ff08-384c-eb24d8237a1a@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Emmanuel Roullit , declan.doherty@intel.com, dev@dpdk.org, dpdk stable To: Ferruh Yigit Return-path: Content-Disposition: inline In-Reply-To: <11b78957-934a-ff08-384c-eb24d8237a1a@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jan 26, 2017 at 11:08:29AM +0000, Ferruh Yigit wrote: > On 1/25/2017 12:11 PM, Ferruh Yigit wrote: > > On 1/24/2017 9:15 PM, Emmanuel Roullit wrote: > >> Found with clang static analysis: > >> drivers/net/bonding/rte_eth_bond_pmd.c:903:3: > >> warning: Value stored to 'num_not_send' is never read > >> num_not_send += slave_bufs_pkts[RTE_MAX_ETHPORTS] - num_send; > >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > >> Fixes: 73db5badb042 ("net: align ethdev and eal driver names") > >> > >> Signed-off-by: Emmanuel Roullit > > > > Applied to dpdk-next-net/master, thanks. > > Fixes: 06fe78b98ccd ("bond: add mode 6") > Cc: stable@dpdk.org For the same reason (it didn't fix a real bug), I will drop it to a stable release. --yliu