numam-dpdk/drivers/net/ice
Qi Zhang f0c3801053 net/ice/base: fix unreachable code usage
Klocwork points out some code is unreachable in
ice_get_itr_intrl_gran and ice_ptg_find_ptype.
The patch removed the unreachable code and resolved the static
analysis reported issues.

Fixes: 51d04e4933 ("net/ice/base: add flexible pipeline module")
Fixes: 453d087cca ("net/ice/base: add common functions")

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
2019-03-29 17:25:31 +01:00
..
base net/ice/base: fix unreachable code usage 2019-03-29 17:25:31 +01:00
ice_ethdev.c net/ice: fix Tx function setting 2019-03-29 17:25:31 +01:00
ice_ethdev.h net/ice: support vector SSE in Rx 2019-03-29 17:25:31 +01:00
ice_logs.h net/ice: support device initialization 2018-12-21 16:22:41 +01:00
ice_rxtx_vec_avx2.c net/ice: support vector AVX2 in Tx 2019-03-29 17:25:31 +01:00
ice_rxtx_vec_common.h net/ice: support Tx SSE vector 2019-03-29 17:25:31 +01:00
ice_rxtx_vec_sse.c net/ice: support Tx SSE vector 2019-03-29 17:25:31 +01:00
ice_rxtx.c net/ice/base: enable VSI queue context 2019-03-29 17:25:31 +01:00
ice_rxtx.h net/ice: support vector AVX2 in Tx 2019-03-29 17:25:31 +01:00
Makefile net/ice: support Rx AVX2 vector 2019-03-29 17:25:31 +01:00
meson.build net/ice: support Rx AVX2 vector 2019-03-29 17:25:31 +01:00
rte_pmd_ice_version.map net/ice: support device initialization 2018-12-21 16:22:41 +01:00