7eb8895d40
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: 88ac4396ad29 ("ethdev: add VMDq support") Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>