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/txgbe: fix queue statistics mapping
[dpdk.git]
/
drivers
/
crypto
/
ccp
/
ccp_pmd_ops.c
diff --git
a/drivers/crypto/ccp/ccp_pmd_ops.c
b/drivers/crypto/ccp/ccp_pmd_ops.c
index
0d615d3
..
1b600e8
100644
(file)
--- a/
drivers/crypto/ccp/ccp_pmd_ops.c
+++ b/
drivers/crypto/ccp/ccp_pmd_ops.c
@@
-744,8
+744,7
@@
ccp_pmd_qp_setup(struct rte_cryptodev *dev, uint16_t qp_id,
qp_setup_cleanup:
dev->data->queue_pairs[qp_id] = NULL;
- if (qp)
- rte_free(qp);
+ rte_free(qp);
return -1;
}