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
pipeline: add check against loops
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
dpaa2_ptp.c
diff --git
a/drivers/net/dpaa2/dpaa2_ptp.c
b/drivers/net/dpaa2/dpaa2_ptp.c
index
3a4536d
..
4e6d375
100644
(file)
--- a/
drivers/net/dpaa2/dpaa2_ptp.c
+++ b/
drivers/net/dpaa2/dpaa2_ptp.c
@@
-170,8
+170,7
@@
dpaa2_create_dprtc_device(int vdev_fd __rte_unused,
return 0;
init_err:
- if (dprtc_dev)
- rte_free(dprtc_dev);
+ rte_free(dprtc_dev);
return -1;
}