From: Yunjian Wang <wangyunj...@huawei.com> Coverity issue: 357719 Fixes: da138cd47e06 ("net/octeontx2: handle port reconfigure") Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang <wangyunj...@huawei.com> --- drivers/net/octeontx2/otx2_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/octeontx2/otx2_ethdev.c b/drivers/net/octeontx2/otx2_ethdev.c index 33b72bd4d..3f9399cc8 100644 --- a/drivers/net/octeontx2/otx2_ethdev.c +++ b/drivers/net/octeontx2/otx2_ethdev.c @@ -1355,8 +1355,6 @@ nix_store_queue_cfg_and_then_release(struct rte_eth_dev *eth_dev) fail: if (tx_qconf) free(tx_qconf); - if (rx_qconf) - free(rx_qconf); return -ENOMEM; } -- 2.23.0