From: Ferruh Yigit Subject: Re: [PATCH] net/bonding: remove useless assignment Date: Wed, 25 Jan 2017 12:11:48 +0000 Message-ID: References: <20170124211555.16539-1-emmanuel.roullit@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Emmanuel Roullit , declan.doherty@intel.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C78E3B6D for ; Wed, 25 Jan 2017 13:11:51 +0100 (CET) In-Reply-To: <20170124211555.16539-1-emmanuel.roullit@gmail.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 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.