git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/ice: support DCF VLAN filter and offload
[dpdk.git]
/
drivers
/
net
/
octeontx
/
octeontx_ethdev.c
diff --git
a/drivers/net/octeontx/octeontx_ethdev.c
b/drivers/net/octeontx/octeontx_ethdev.c
index
b47472e
..
f5ea9de
100644
(file)
--- a/
drivers/net/octeontx/octeontx_ethdev.c
+++ b/
drivers/net/octeontx/octeontx_ethdev.c
@@
-1037,8
+1037,7
@@
octeontx_dev_tx_queue_setup(struct rte_eth_dev *dev, uint16_t qidx,
return res;
err:
- if (txq)
- rte_free(txq);
+ rte_free(txq);
return res;
}