drivers/net: remove redundant MAC addresses freeing
authorThomas Monjalon <thomas@monjalon.net>
Mon, 28 Sep 2020 23:14:32 +0000 (01:14 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:14 +0000 (19:19 +0200)
commitf820adfcb0b6d644dbc22794e4972f9749643960
tree7414bc453e92305090000768e9cbd5f78e1d402c
parent30410493759f4bae3f65497737661e27b93c2d0e
drivers/net: remove redundant MAC addresses freeing

The MAC addresses array is already freed by rte_eth_dev_release_port().
The redundant freeing can be removed from the PMD port closing functions.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/ark/ark_ethdev.c
drivers/net/hinic/hinic_pmd_ethdev.c
drivers/net/ice/ice_ethdev.c
drivers/net/nfb/nfb_ethdev.c
drivers/net/szedata2/rte_eth_szedata2.c