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
/
igc
/
igc_flow.c
diff --git
a/drivers/net/igc/igc_flow.c
b/drivers/net/igc/igc_flow.c
index
6605306
..
58a6a8a
100644
(file)
--- a/
drivers/net/igc/igc_flow.c
+++ b/
drivers/net/igc/igc_flow.c
@@
-775,10
+775,7
@@
igc_flow_create(struct rte_eth_dev *dev,
}
if (ret) {
- /* check and free the memory */
- if (flow)
- rte_free(flow);
-
+ rte_free(flow);
rte_flow_error_set(error, -ret,
RTE_FLOW_ERROR_TYPE_HANDLE, NULL,
"Failed to create flow.");