net/i40e: fix MAC removal check
authorHerakliusz Lipiec <herakliusz.lipiec@intel.com>
Thu, 18 Jul 2019 14:44:48 +0000 (15:44 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit73bd0ad5936de7a3152850b22f0d08e5c7bd1f5a
treef97d7da89930b50a03d4d894e5c1f2bc4e68cee1
parent72d138ff0f58d2cf2c3ef58b0f5c32e186b82a15
net/i40e: fix MAC removal check

Add return value check for i40e_vsi_delete_mac call in
rte_pmd_i40e_remove_vf_mac_addr as per coverity issue.

Coverity issue: 277224
Fixes: e0cb96204b71 ("net/i40e: add support for representor ports")
Cc: stable@dpdk.org
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/rte_pmd_i40e.c