linux/drivers/net
Maxim Korotkov 4691720f50 bnx2: remove deadcode in bnx2_init_cpus()
The load_cpu_fw function has no error return code
and always returns zero. Checking the value returned by
this function does not make sense.
Now checking the value of the return value is misleading when reading
the code. Path with error handling was deleted in 57579f7629
("bnx2: Use request_firmware()").
As a result, bnx2_init_cpus() will also return only zero
Therefore, it will be safe to change the type of functions
to void and remove checking to improving readability.

Found by Security Code and Linux Verification
Center (linuxtesting.org) with SVACE

Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Maxim Korotkov <korotkov.maxim.s@gmail.com>
Link: https://lore.kernel.org/r/20230322162843.3452-1-korotkov.maxim.s@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-23 21:49:15 -07:00
..
appletalk
arcnet
bonding bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails 2023-03-17 07:56:41 +00:00
caif
can net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
dsa net: dsa: b53: add BCM63268 RGMII configuration 2023-03-22 21:38:04 -07:00
ethernet bnx2: remove deadcode in bnx2_init_cpus() 2023-03-23 21:49:15 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 net: ieee802154: ca8210: drop owner from driver 2023-03-15 08:11:03 +00:00
ipa net: ipa: add IPA v5.0 to ipa_version_string() 2023-03-23 21:48:32 -07:00
ipvlan ipvlan: Make skb->skb_iif track skb->dev for l3s mode 2023-03-10 21:27:15 -08:00
mctp
mdio net: Use of_property_present() for testing DT property presence 2023-03-13 17:07:52 -07:00
netdevsim
pcs net: pcs: xpcs: use Autoneg bit rather than an_enabled 2023-03-22 22:43:05 -07:00
phy net: sfp: add quirk for 2.5G copper SFP 2023-03-22 22:43:36 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull 2023-03-16 17:27:56 -07:00
vmxnet3
vxlan vxlan: Expose helper vxlan_build_gbp_hdr 2023-03-17 22:41:16 -07:00
wan net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
wireguard cpumask: fix incorrect cpumask scanning result checks 2023-03-06 12:15:13 -08:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
wwan wwan: core: Support slicing in port TX flow of WWAN subsystem 2023-03-17 22:38:31 -07:00
xen-netback Including fixes from wireless and netfilter. 2023-02-27 14:05:08 -08:00
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c net: geneve: accept every ethertype 2023-03-21 13:39:29 +01:00
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c tap: add support for IOCB_NOWAIT 2023-03-10 16:48:32 -08:00
tun.c tun: flag the device as supporting FMODE_NOWAIT 2023-03-10 16:47:22 -08:00
veth.c veth: Fix use after free in XDP_REDIRECT 2023-03-15 21:11:06 -07:00
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
vrf.c
vsockmon.c
xen-netfront.c