examples: remove useless debug flags
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 22 Apr 2016 10:52:20 +0000 (12:52 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 May 2016 13:31:17 +0000 (15:31 +0200)
commit1f49ec153c8f91ee34c23e58c7443eb87f566b60
tree166e63474ba3a2dc392fec36a9ee6dcd333b54f8
parent9b9d7caa84140ce132bc3ed515857207da3d6fc4
examples: remove useless debug flags

The debug logs must be enabled at compile-time and run-time.
There are also some internal flags in some examples to enable the debug
logs of the applications. They are now enabled in debug configs and
can be disabled thanks to the more generic logtype mechanism:
rte_set_log_type(RTE_LOGTYPE_USER1, 0);

Removing these #ifdef allows to test these code branches more easily
and avoid dead code pitfalls.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
12 files changed:
examples/distributor/main.c
examples/ipsec-secgw/esp.c
examples/ipsec-secgw/ipsec.c
examples/ipsec-secgw/ipsec.h
examples/l3fwd-acl/main.c
examples/packet_ordering/main.c
examples/tep_termination/main.c
examples/tep_termination/main.h
examples/vhost/main.c
examples/vhost/main.h
examples/vhost_xen/main.c
examples/vhost_xen/main.h