]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/pci: Remove unused pci_irq_pulse() method
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 22 Nov 2024 10:34:18 +0000 (11:34 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 27 Nov 2024 08:34:08 +0000 (09:34 +0100)
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é <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241122103418.539-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/hw/pci/pci.h

index 135695c55116ce2ef2ff9e70b789fe86e6533f51..c0717e312192a6bfd44236958169235179f836ac 100644 (file)
@@ -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);