[dpdk-dev] [PATCH] ethdev: remove useless pointer initialization

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jan 30 10:40:27 CET 2017


2017-01-24 21:28, Emmanuel Roullit:
> Found with clang static analysis:
> lib/librte_ether/rte_ethdev.c:2467:22:
> warning: Value stored to 'dev' during its initialization is never read
> struct rte_eth_dev *dev = &rte_eth_devices[port_id];
>                     ^~~   ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Fixes: 61207d014fc9 ("ethdev: fix data reset when allocating port")

Wrong commit reference.
Fixes: 88ac4396ad29 ("ethdev: add VMDq support")

> Signed-off-by: Emmanuel Roullit <emmanuel.roullit at gmail.com>

Applied, thanks


More information about the dev mailing list