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
remove unneeded tests for NULL when freeing
[dpdk.git]
/
examples
/
ip_pipeline
/
cpu_core_map.c
diff --git
a/examples/ip_pipeline/cpu_core_map.c
b/examples/ip_pipeline/cpu_core_map.c
index
331b946
..
2a91f31
100644
(file)
--- a/
examples/ip_pipeline/cpu_core_map.c
+++ b/
examples/ip_pipeline/cpu_core_map.c
@@
-488,6
+488,5
@@
cpu_core_map_get_lcore_id(struct cpu_core_map *map,
void
cpu_core_map_free(struct cpu_core_map *map)
{
- if (map)
- free(map);
+ free(map);
}