linux/drivers
Vlad Dumitrescu 6a46e4faa8 net/mlx5: Remove dead code from total_vfs setter
The mlx5_devlink_total_vfs_set function branches based on per_pf_support
twice. Remove the second branch as the first one exits the function when
per_pf_support is false.

Accidentally added as part of commit a4c49611cf ("net/mlx5: Implement
devlink total_vfs parameter").

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-rdma/aMQWenzpdjhAX4fm@stanley.mountain/
Signed-off-by: Vlad Dumitrescu <vdumitrescu@nvidia.com>
Link: https://patch.msgid.link/a6142a60-1948-439a-b0ae-ff1df26a37f8@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-19 17:03:50 -07:00
..
accel accel/ivpu: Prevent recovery work from being queued during device removal 2025-09-01 12:37:21 +02:00
accessibility
acpi Several RISC-V fixes for v6.17-rc5: 2025-09-07 08:15:56 -07:00
amba
android
ata ata: ahci_xgene: Use int type for 'rc' to store error codes 2025-08-28 13:36:14 +09:00
atm
auxdisplay
base Mitigate VMSCAPE issue with indirect branch predictor flushes 2025-09-10 20:52:16 -07:00
bcma
block zram: fix slot write race condition 2025-09-15 20:01:45 -07:00
bluetooth Bluetooth: vhci: Prevent use-after-free by removing debugfs files early 2025-08-29 14:47:20 -04:00
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq Merge branches 'pm-sleep' and 'pm-em' 2025-09-11 14:22:35 +02:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate 2025-09-02 15:01:51 +05:30
dma-buf
dpll Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
edac
eisa
extcon
firewire
firmware efi: stmm: Drop unneeded null pointer check 2025-08-26 14:49:42 +02:00
fpga
fsi
fwctl
gnss
gpio gpio: fix GPIO submenu in Kconfig 2025-09-02 11:29:43 +02:00
gpu - Don't touch survivability_mode on fini (Michal) 2025-09-12 09:44:07 +10:00
greybus
hid hid-for-linus-2025082901 2025-08-29 07:44:14 -07:00
hsi
hte
hv
hwmon hwmon: (ina238) Correctly clamp power limits 2025-09-01 08:03:05 -07:00
hwspinlock
hwtracing
i2c i2c: rtl9300: remove broken SMBus Quick operation support 2025-09-04 00:31:34 +02:00
i3c
idle
iio
infiniband net/mlx5: Store the global doorbell in mlx5_priv 2025-09-17 18:30:32 -07:00
input Input updates for v6.17-rc5 2025-09-14 08:09:37 -07:00
interconnect
iommu
ipack
irqchip
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-08-29 19:19:39 -07:00
leds
macintosh
mailbox
mcb
md - fix integer overflow in dm-stripe 2025-09-17 08:07:02 -07:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd mtd: spinand: winbond: Fix oob_layout for W25N01JW 2025-09-05 17:03:44 +02:00
mux
net net/mlx5: Remove dead code from total_vfs setter 2025-09-19 17:03:50 -07:00
nfc
ntb
nubus
nvdimm
nvme nvme: fix PI insert on write 2025-09-02 12:21:42 -07:00
nvmem
of 17 hotfixes. 13 are cc:stable and the remainder address post-6.16 issues 2025-09-02 13:18:00 -07:00
opp
parisc
parport
pci pci-v6.17-fixes-3 2025-09-12 10:46:10 -07:00
pcmcia
peci
perf
phy phy: qcom: qmp-pcie: Fix PHY initialization when powered down by firmware 2025-09-01 22:29:20 +05:30
pinctrl
platform platform-drivers-x86 for v6.17-4 2025-09-18 09:22:34 -07:00
pmdomain
pnp
power power: supply: bq27xxx: restrict no-battery detection to bq27000 2025-09-06 02:11:38 +02:00
powercap
pps
ps3
ptp ptp_ocp: make ptp_ocp driver compatible with PTP_EXTTS_REQUEST2 2025-09-19 17:00:06 -07:00
pwm
rapidio
ras
regulator regulator: sy7636a: fix lifecycle of power good gpio 2025-09-08 16:33:24 +01:00
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi scsi: sr: Reinstate rotational media flag 2025-08-30 21:46:21 -04:00
sh
siox
slimbus
soc soc: fixes for 6.17, part 2 2025-09-03 14:44:34 -07:00
soundwire
spi spi: spi-qpic-snand: unregister ECC engine on probe error and device remove 2025-09-03 14:49:58 +01:00
spmi
ssb
staging wifi: drivers: indicate support for attributes in NL80211_CMD_SET_BSS 2025-09-04 11:19:02 +02:00
target
tc
tee OP-TEE driver fix for v6.17 2025-09-01 10:35:03 +02:00
thermal
thunderbolt
tty TTY/Serial fixes for 6.17-rc6 2025-09-14 10:54:54 -07:00
ufs
uio
usb USB: core: remove the move buf action 2025-09-12 13:41:55 +02:00
vdpa
vfio
vhost vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put() 2025-08-26 03:38:10 -04:00
video
virt
virtio virtio_input: Improve freeze handling 2025-08-26 03:38:19 -04:00
w1
watchdog
xen
zorro
Kconfig
Makefile