examples: remove useless check of port count
authorMauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Tue, 3 May 2016 21:16:57 +0000 (23:16 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 May 2016 19:01:51 +0000 (21:01 +0200)
commitb4e0f64ff271ccc78f6275b6bd49194e86fd4f4b
tree2a4695177a7b7b352433f8e90e590434b4174e7c
parent6b3ac0da69e21de7e0e78ed0441b870281288143
examples: remove useless check of port count

The rte_eth_dev_count() function will never return a value greater
than RTE_MAX_ETHPORTS, so that checking is useless.

Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
27 files changed:
app/proc_info/main.c
app/test/test_pmd_perf.c
doc/guides/sample_app_ug/l2_forward_job_stats.rst
doc/guides/sample_app_ug/l2_forward_real_virtual.rst
doc/guides/sample_app_ug/link_status_intr.rst
examples/dpdk_qat/main.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/kni/main.c
examples/l2fwd-crypto/main.c
examples/l2fwd-ivshmem/host/host.c
examples/l2fwd-jobstats/main.c
examples/l2fwd-keepalive/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/multi_process/l2fwd_fork/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/tep_termination/main.c
examples/vhost/main.c
examples/vhost_xen/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c