git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92b001
)
net/af_xdp: remove useless assignment
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 19 Nov 2020 11:58:57 +0000
(11:58 +0000)
committer
David Marchand
<david.marchand@redhat.com>
Mon, 11 Jan 2021 09:45:34 +0000
(10:45 +0100)
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 <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/af_xdp/rte_eth_af_xdp.c
patch
|
blob
|
history
diff --git
a/drivers/net/af_xdp/rte_eth_af_xdp.c
b/drivers/net/af_xdp/rte_eth_af_xdp.c
index
2c7892b
..
7fc70df
100644
(file)
--- 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