summaryrefslogtreecommitdiff
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-03-21 22:39:24 +0300
committerBjorn Helgaas <bhelgaas@google.com>2019-03-21 22:39:33 +0300
commitfc2786545395e0ca69f245e5617fee0639ff0d25 (patch)
tree43ed9e009b8722243b74e1387916d48c116ef80b /include/linux/msi.h
parent1903ba82823b244e92764a9d899ebaac5ebcd5ec (diff)
downloadlinux-fc2786545395e0ca69f245e5617fee0639ff0d25.tar.xz
PCI/MSI: Remove unused mask_msi_irq() and unmask_msi_irq()
Change pcie-xilinx-nwl.c to use pci_msi_mask_irq() and pci_msi_unmask_irq() like all other PCI host controller drivers. Remove the now-unused mask_msi_irq() and unmask_msi_irq(). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Michal Simek <michal.simek@xilinx.com> CC: linux-arm-kernel@lists.infradead.org
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r--include/linux/msi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h
index f934982a0e68..052f04fcf953 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -148,15 +148,6 @@ u32 __pci_msi_desc_mask_irq(struct msi_desc *desc, u32 mask, u32 flag);
void pci_msi_mask_irq(struct irq_data *data);
void pci_msi_unmask_irq(struct irq_data *data);
-static inline void mask_msi_irq(struct irq_data *data)
-{
- pci_msi_mask_irq(data);
-}
-static inline void unmask_msi_irq(struct irq_data *data)
-{
- pci_msi_unmask_irq(data);
-}
-
/*
* The arch hooks to setup up msi irqs. Those functions are
* implemented as weak symbols so that they /can/ be overriden by