numam-dpdk/drivers/net/ipn3ke
Kevin Traynor d28ae28eb7 net/ipn3ke: remove useless if statement
Coverity complains that this statement is not needed as the goto
label is on the next line anyway. Remove the if statement.

653        ret = ipn3ke_cfg_parse_i40e_pf_ethdev(afu_name, pf_name);
   CID 337930 (#1 of 1): Identical code for different branches
   (IDENTICAL_BRANCHES)identical_branches: The same code is executed
   when the condition ret is true or false, because the code in the
   if-then branch and after the if statement is identical. Should
   the if statement be removed?
654        if (ret)
655                goto end;
   implicit_else: The code from the above if-then branch is identical
   to the code after the if statement.
656end:

Coverity issue: 337930
Fixes: c01c748e4a ("net/ipn3ke: add new driver")
Cc: stable@dpdk.org

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
2019-11-08 16:40:28 +01:00
..
ipn3ke_ethdev.c net/ipn3ke: remove useless if statement 2019-11-08 16:40:28 +01:00
ipn3ke_ethdev.h net/ipn3ke: setup MTU during HW init 2019-10-07 15:00:56 +02:00
ipn3ke_flow.c remove extra blank lines at end of files 2019-08-05 15:19:32 +02:00
ipn3ke_flow.h net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
ipn3ke_logs.h net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
ipn3ke_rawdev_api.h net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
ipn3ke_representor.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
ipn3ke_tm.c net/ipn3ke: fix TM commit check 2019-11-08 16:40:28 +01:00
Makefile net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
meson.build net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
rte_pmd_ipn3ke_version.map net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00