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

Since rte_free accept NULL and does nothing, better to save
space and remove these useless checks.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_pmd_af_packet/rte_eth_af_packet.c
lib/librte_pmd_bond/rte_eth_bond_api.c
lib/librte_pmd_enic/enic_main.c
lib/librte_pmd_mlx4/mlx4.c
lib/librte_pmd_null/rte_eth_null.c
lib/librte_pmd_pcap/rte_eth_pcap.c
lib/librte_pmd_ring/rte_eth_ring.c
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c