[PATCH 1/2] PCI/MSI: Remove unused __write_msi_msg() and write_msi_msg()
From: Bjorn Helgaas
Date: Mon Mar 25 2019 - 18:12:45 EST
From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
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@xxxxxxxxxx>
CC: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx> # 83a18912b0e8 author
---
include/linux/msi.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/include/linux/msi.h b/include/linux/msi.h
index 7e9b81c3b50d..f934982a0e68 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);
-/* 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);
--
2.21.0.392.gf8f6787159e-goog