remove unneeded tests for NULL when freeing
authorDavid Marchand <david.marchand@6wind.com>
Thu, 21 Jan 2016 11:23:19 +0000 (12:23 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 27 Jan 2016 14:34:48 +0000 (15:34 +0100)
commitc7985de0a7f0769d6e4e112b18314aceecf2642c
tree030290c3338c87c5e7284c70c0e481d3cbff793d
parent5ce3ace1de458e2ded1b408acfe59c15cf9863f1
remove unneeded tests for NULL when freeing

free() already handles NULL pointer.

Signed-off-by: David Marchand <david.marchand@6wind.com>
14 files changed:
app/test/test_devargs.c
app/test/test_link_bonding.c
app/test/test_pci.c
app/test/test_ring.c
drivers/net/xenvirt/rte_eth_xenvirt.c
drivers/net/xenvirt/rte_mempool_gntalloc.c
examples/ip_pipeline/cpu_core_map.c
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/vhost_xen/vhost_monitor.c
examples/vhost_xen/xenstore_parse.c
lib/librte_eal/common/eal_common_devargs.c
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_ether/rte_ethdev.c
lib/librte_kvargs/rte_kvargs.c