From: Ferruh Yigit Date: Thu, 19 Nov 2020 11:58:57 +0000 (+0000) Subject: net/af_xdp: remove useless assignment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c275321105aad89985bc5e207502625c069ca461;p=dpdk.git net/af_xdp: remove useless assignment Assignment of function parameter 'umem' removed. Fixes: f0ce7af0e182 ("net/af_xdp: remove resources when port is closed") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Reviewed-by: David Marchand --- diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_af_xdp.c index 2c7892bd7e..7fc70df713 100644 --- a/drivers/net/af_xdp/rte_eth_af_xdp.c +++ b/drivers/net/af_xdp/rte_eth_af_xdp.c @@ -840,7 +840,6 @@ xdp_umem_destroy(struct xsk_umem_info *umem) #endif rte_free(umem); - umem = NULL; } static int