PCI/MSI: Remove unused __write_msi_msg() and write_msi_msg()
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Nov 2018 17:16:10 +0000 (11:16 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Mar 2019 19:39:00 +0000 (14:39 -0500)
Remove unused __write_msi_msg() and write_msi_msg().

These were added by 83a18912b0e8 ("PCI/MSI: Rename write_msi_msg() to
pci_write_msi_msg()"), they served their purpose, and they're no longer
needed.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Jiang Liu <jiang.liu@linux.intel.com> # 83a18912b0e8 author
include/linux/msi.h

index 7e9b81c3b50d923f9a4c41d24215e3f0683ad425..f934982a0e684c5d5bad0ad0cc56f6a9fe8e9be9 100644 (file)
@@ -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);
 
-/* Conversion helpers. Should be removed after merging */
-static inline void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
-{
-       __pci_write_msi_msg(entry, msg);
-}
-static inline void write_msi_msg(int irq, struct msi_msg *msg)
-{
-       pci_write_msi_msg(irq, msg);
-}
 static inline void mask_msi_irq(struct irq_data *data)
 {
        pci_msi_mask_irq(data);