From: Philippe Mathieu-Daudé Date: Fri, 22 Nov 2024 10:34:18 +0000 (+0100) Subject: hw/pci: Remove unused pci_irq_pulse() method X-Git-Tag: v9.2.0-rc3~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef45f46f382a5e2c41c39c71fd3364cff4f41bf5;p=thirdparty%2Fqemu.git hw/pci: Remove unused pci_irq_pulse() method Last use of pci_irq_pulse() was removed 7 years ago in commit 5e9aa92eb1 ("hw/block: Fix pin-based interrupt behaviour of NVMe"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-ID: <20241122103418.539-1-philmd@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 135695c5511..c0717e31219 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -670,16 +670,6 @@ static inline void pci_irq_deassert(PCIDevice *pci_dev) pci_set_irq(pci_dev, 0); } -/* - * FIXME: PCI does not work this way. - * All the callers to this method should be fixed. - */ -static inline void pci_irq_pulse(PCIDevice *pci_dev) -{ - pci_irq_assert(pci_dev); - pci_irq_deassert(pci_dev); -} - MSIMessage pci_get_msi_message(PCIDevice *dev, int vector); void pci_set_power(PCIDevice *pci_dev, bool state);