mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Colin Ian King 9e5f10fe57 octeontx2-af: remove redudant second error check on variable err
A recent change added error checking messages and failed to remove one
of the previous error checks. There are now two checks on variable err
so the second one is redundant dead code and can be removed.

Addresses-Coverity: ("Logically dead code")
Fixes: a83bdada06 ("octeontx2-af: Add debug messages for failures")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210818130927.33895-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-08-19 12:18:51 -07:00
..
cgx_fw_if.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
cgx.c octeontx2-pf: Dont enable backpressure on LBK links 2021-07-25 09:25:03 +01:00
cgx.h octeontx2-af: Debugfs support for DMAC filters 2021-07-01 13:02:38 -07:00
common.h octeontx2-pf: cn10k: Config DWRR weight based on MTU 2021-08-02 10:47:12 +01:00
lmac_common.h octeontx2-af: DMAC filter support in MAC block 2021-07-01 13:02:38 -07:00
Makefile octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
mbox.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
mbox.h octeontx2-af: add proper return codes for AF mailbox handlers 2021-08-17 10:06:32 +01:00
npc_profile.h octeontx2-af: Update the default KPU profile and fixes 2021-05-29 14:16:22 -07:00
npc.h octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces 2021-07-25 09:25:03 +01:00
ptp.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
ptp.h octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
rpm.c octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rpm.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rvu_cgx.c octeontx2-af: add proper return codes for AF mailbox handlers 2021-08-17 10:06:32 +01:00
rvu_cn10k.c octeontx2-af: cn10k: Support configurable LMTST regions 2021-07-01 11:27:57 -07:00
rvu_cpt.c octeontx2-af: Add mailbox for CPT stats 2021-04-21 10:23:17 -07:00
rvu_debugfs.c octeontx2-af: Prepare for allocating MCAM rules for AF 2021-07-19 10:24:25 -07:00
rvu_devlink.c devlink: Set device as early as possible 2021-08-09 10:21:40 +01:00
rvu_devlink.h octeontx2-af: Add devlink health reporters for NIX 2021-01-21 11:57:51 -08:00
rvu_nix.c octeontx2-af: add proper return codes for AF mailbox handlers 2021-08-17 10:06:32 +01:00
rvu_npa.c net: marvell: octeontx2: simplify the return expression of rvu_npa_init() 2020-12-09 17:05:36 -08:00
rvu_npc_fs.c octeontx2-pf: Ntuple filters support for VF netdev 2021-08-17 10:06:33 +01:00
rvu_npc.c octeontx2-af: configure npc for cn10k to allow packets from cpt 2021-08-17 10:06:33 +01:00
rvu_reg.c octeontx2-af: Mbox changes for 98xx 2020-10-31 14:16:47 -07:00
rvu_reg.h octeontx2-af: cn10k: DWRR MTU configuration 2021-08-02 10:47:12 +01:00
rvu_struct.h octeontx2-af: cn10k: Setting up lmtst map table 2021-07-01 11:27:57 -07:00
rvu_switch.c octeontx2-af: Fix uninitialized variables in rvu_switch 2021-07-23 17:43:31 +01:00
rvu_trace.c octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu_trace.h octeontx2-af: Enhance mailbox trace entry 2021-07-23 17:15:04 +01:00
rvu.c octeontx2-af: remove redudant second error check on variable err 2021-08-19 12:18:51 -07:00
rvu.h octeontx2-af: cn10K: Get NPC counters value 2021-08-17 10:06:33 +01:00