From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> pcie-xilinx-nwl.c is the only driver to use mask_msi_irq() and unmask_msi_irq(), which are trivial wrappers around PCI-specific functions. We obviously know we need the PCI versions in this driver, so use them directly, as all the other PCI host controller drivers do, and remove the unused wrappers. Unless there's objection, I'll merge both of these via my tree just to keep them together. Bjorn Helgaas (2): PCI/MSI: Remove unused __write_msi_msg() and write_msi_msg() PCI/MSI: Remove unused mask_msi_irq() and unmask_msi_irq() drivers/pci/controller/pcie-xilinx-nwl.c | 9 ++++----- include/linux/msi.h | 18 ------------------ 2 files changed, 4 insertions(+), 23 deletions(-) -- 2.21.0.392.gf8f6787159e-goog