linux-stable/drivers
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
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base regmap: allow to define reg_update_bits for no bus configuration 2021-11-15 13:27:13 +00:00
bcma
block
bluetooth bluetooth-next pull request for net-next: 2021-11-17 14:52:44 +00:00
bus - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
cdrom
char
clk Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu
greybus
hid
hsi
hv Drivers: hv: balloon: Use VMBUS_RING_SIZE() wrapper for dm_ring_size 2021-11-15 12:35:56 +00:00
hwmon
hwspinlock
hwtracing
i2c Revert "Merge branch 'mctp-i2c-driver'" 2021-11-15 07:53:10 -08:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net mlxsw: spectrum_router: Remove deadcode in mlxsw_sp_rif_mac_profile_find 2021-11-23 11:44:31 +00:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
opp
parisc
parport
pci A set of fixes for the interrupt subsystem: 2021-11-14 10:38:27 -08:00
pcmcia pcmcia: hide the MAC address helpers if !NET 2021-11-22 14:02:52 +00:00
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp ptp: ocp: Fix a couple NULL vs IS_ERR() checks 2021-11-18 12:12:55 +00:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
sbus
scsi SCSI misc on 20211112 2021-11-12 12:25:50 -08:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging net: annotate accesses to queue->trans_start 2021-11-17 14:56:16 +00:00
target SCSI misc on 20211112 2021-11-12 12:25:50 -08:00
tc
tee
thermal
thunderbolt
tty
uio
usb
vdpa
vfio
vhost
video parisc/sticon: fix reverse colors 2021-11-17 11:04:02 +01:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile