[dpdk-dev] [PATCH] examples: remove useless checking
Ferruh Yigit
ferruh.yigit at intel.com
Tue May 3 16:39:45 CEST 2016
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 <mauricio.vasquezbernal at studenti.polito.it>
Patch looks good to me.
Only there is one missed in examples/kni/main.c, can you please include
that one too?
Thanks,
ferruh
More information about the dev
mailing list