drivers: remove useless reset of PCI device pointer
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 23 Dec 2016 15:57:55 +0000 (16:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 24 Dec 2016 17:47:19 +0000 (18:47 +0100)
commit74343fa77db0fdce9cb87cbaa836c4974351e07c
tree0e1982292ba402ab87ada1c707eb90a4d9c5123d
parent71ff78a7f7411e659708d26af8563fc78835ef39
drivers: remove useless reset of PCI device pointer

Since rte_eth_dev_info_get does memset() on dev_info before
calling device specific code, the explicit assignment of NULL
in all these virtual drivers has no effect.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jan Blunck <jblunck@infradead.org>
app/test/virtual_pmd.c
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/null/rte_eth_null.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/ring/rte_eth_ring.c
drivers/net/xenvirt/rte_eth_xenvirt.c