]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: dw-pci: remove redundant pci_free_irq_vectors() calls
authorFelix Gu <ustc.gu@gmail.com>
Fri, 29 May 2026 18:54:31 +0000 (02:54 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jun 2026 18:04:40 +0000 (19:04 +0100)
commitaf4310929afcd500df6b75a5fccff85ce13cc90d
treea3b390d03502c4acac9dab91bc4ff529550dd2ab
parent7886054b06f762f62054957a8f6de0f14e6b7541
spi: dw-pci: remove redundant pci_free_irq_vectors() calls

The driver uses pcim_enable_device(), so IRQ vectors are automatically
freed by devres on driver detach. The explicit pci_free_irq_vectors()
calls in the probe error path and remove function are redundant.

Drop them and the now-unused error label.

Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Link: https://patch.msgid.link/20260530-dw-pci-v1-1-5d2cf798b3c3@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-pci.c