[dpdk-dev] [PATCH] examples: remove useless checking

2016-05-03 Thread Ferruh Yigit
On 4/29/2016 4:48 PM, Mauricio Vasquez B wrote: > 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 studenti.polito.it> Patch looks good to me. Only there is one missed in examples/kni/m

[dpdk-dev] [PATCH] examples: remove useless checking

2016-04-29 Thread Mauricio Vasquez B
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 --- app/proc_info/main.c | 4 app/test/test_pmd_perf.c | 3 --- doc/guides/sam