examples: remove useless null checks before rte_free
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 7 Apr 2015 21:21:00 +0000 (14:21 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Apr 2015 20:50:10 +0000 (22:50 +0200)
commit176582b8a4868822b4e827a63af3db169fe03d4a
tree4891ddf36ae7eda8872def89f8ae2fcaf46b291d
parent517f8377106cefb8d5b49a85ef4b1c3b86dc0466
examples: remove useless null checks before rte_free

rte_free handles getting passed a NULL pointer.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
examples/vhost/main.c
examples/vhost_xen/vhost_monitor.c
examples/vm_power_manager/channel_manager.c