linux-stable/drivers/net
Danielle Ratson ed1607e2dd mlxsw: spectrum_router: Remove deadcode in mlxsw_sp_rif_mac_profile_find
The function idr_for_each_entry() already checks that the next entry in
the IDR is not NULL.

Therefore, checking that again in every iteration leads to deadcode.

Remove the unnecessary check in order to avoid that.

Addresses-Coverity: ("Logically dead code")
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-23 11:44:31 +00:00
..
appletalk
arcnet
bonding net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
caif
can ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
dsa net: dsa: qca8k: add support for mdb_add/del 2021-11-22 15:35:16 +00:00
ethernet mlxsw: spectrum_router: Remove deadcode in mlxsw_sp_rif_mac_profile_find 2021-11-23 11:44:31 +00:00
fddi net: fddi: use swap() to make code cleaner 2021-11-15 14:19:17 +00:00
fjes
hamradio hamradio: remove needs_free_netdev to avoid UAF 2021-11-12 19:56:47 -08:00
hippi
hyperv hv_netvsc: Use bitmap_zalloc() when applicable 2021-11-22 14:32:54 +00:00
ieee802154
ipa net: ipa: Use 'for_each_clear_bit' when possible 2021-11-19 11:19:11 +00:00
ipvlan net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
mctp Revert "Merge branch 'mctp-i2c-driver'" 2021-11-15 07:53:10 -08:00
mdio
netdevsim ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
pcs
phy net: phylink: handle NA interface mode in phylink_fwnode_phy_connect() 2021-11-22 13:16:26 +00:00
plip
ppp TTY / Serial driver update for 5.16-rc1 2021-11-04 09:09:37 -07:00
slip
team
usb ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
vmxnet3 ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
wan net/wan/fsl_ucc_hdlc: fix sparse warnings 2021-11-15 14:24:41 +00:00
wireguard skbuff: Switch structure bounds to struct_group() 2021-11-22 15:13:54 +00:00
wireless ipw2200: constify address in ipw_send_adapter_address 2021-11-19 10:46:04 +00:00
wwan net: wwan: iosm: device trace collection using relayfs 2021-11-22 13:23:08 +00:00
xen-netback
amt.c amt: cancel delayed_work synchronously in amt_fini() 2021-11-16 19:14:12 -08:00
bareudp.c net: bareudp: fix duplicate checks of data[] expressions 2021-10-29 13:41:28 +01:00
dummy.c
eql.c
geneve.c net: move gro definitions to include/net/gro.h 2021-11-16 13:16:54 +00:00
gtp.c
ifb.c ifb: fix building without CONFIG_NET_CLS_ACT 2021-10-29 14:01:11 +01:00
Kconfig amt: add IPV6 Kconfig dependency 2021-11-09 14:00:13 +00:00
LICENSE.SRC
loopback.c
macsec.c net: drivers: get ready for const netdev->dev_addr 2021-10-24 13:59:45 +01:00
macvlan.c net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
macvtap.c
Makefile amt: add control plane of amt interface 2021-11-01 13:36:08 +00:00
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c net: sungem_phy: fix code indentation 2021-11-09 11:45:54 +00:00
tap.c
thunderbolt.c net: thunderbolt: use eth_hw_addr_set() 2021-10-27 17:13:36 -07:00
tun.c tun: fix bonding active backup with arp monitoring 2021-11-15 13:00:26 +00:00
veth.c net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
virtio_net.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
vrf.c vrf: run conntrack only in context of lower/physdev for locally generated packets 2021-10-26 13:21:10 +01:00
vsockmon.c
vxlan.c net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-10-28 10:43:58 -07:00