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

Ferruh Yigit ferruh.yigit at intel.com
Wed May 4 10:04:31 CEST 2016


On 5/3/2016 10:16 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>
> ---
> v2:
>  Add missed case in examples/kni/main.c

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list