[dpdk-dev] [PATCH] net/bonding: remove useless assignment

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 25 13:11:48 CET 2017


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 <emmanuel.roullit at gmail.com>

Applied to dpdk-next-net/master, thanks.



More information about the dev mailing list