[dpdk-stable] [dpdk-dev] [PATCH v2 6/7] net/af_xdp: remove useless assignment
David Marchand
david.marchand at redhat.com
Wed Nov 18 15:42:43 CET 2020
On Wed, Nov 18, 2020 at 12:47 PM Ferruh Yigit <ferruh.yigit at intel.com> wrote:
>
> Assignment of function parameter 'umem' removed.
>
> Fixes: f0ce7af0e182 ("net/af_xdp: remove resources when port is closed")
> Cc: stable at dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
> drivers/net/af_xdp/rte_eth_af_xdp.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the stable
mailing list