Skip to content

Commit

Permalink
net/af_xdp: remove useless assignment
Browse files Browse the repository at this point in the history
[ upstream commit c275321 ]

Assignment of function parameter 'umem' removed.

Fixes: f0ce7af ("net/af_xdp: remove resources when port is closed")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
Ferruh Yigit authored and bluca committed Feb 2, 2021
1 parent 218fd70 commit d1c219f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/af_xdp/rte_eth_af_xdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,6 @@ xdp_umem_destroy(struct xsk_umem_info *umem)
#endif

rte_free(umem);
umem = NULL;
}

static int
Expand Down

0 comments on commit d1c219f

Please sign in to comment.