diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-22 11:34:18 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-11-27 09:34:08 +0100 |
commit | ef45f46f382a5e2c41c39c71fd3364cff4f41bf5 (patch) | |
tree | b0a5336cc83fe7f7e56df4aaf02b786aeed04d2c | |
parent | c00989aae88544b96841ad0c4dc2737b003c2c9e (diff) | |
download | qemu-ef45f46f382a5e2c41c39c71fd3364cff4f41bf5.zip qemu-ef45f46f382a5e2c41c39c71fd3364cff4f41bf5.tar.gz qemu-ef45f46f382a5e2c41c39c71fd3364cff4f41bf5.tar.bz2 |
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é <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>
-rw-r--r-- | include/hw/pci/pci.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 135695c..c0717e3 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); |