Skip to content

PCI/MSI: Remove unused interfaces

Bjorn Helgaas linux-arm-kernel linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI/MSI: Remove unused __write_msi_msg() and write_msi_msg()include/linux/msi.h+0 -90 replies
2/2PCI/MSI: Remove unused mask_msi_irq() and unmask_msi_irq()drivers/pci/controller/pcie-xilinx-nwl.c include/linux/msi.h+4 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] PCI/MSI: Remove unused interfaces

From: Bjorn Helgaas <[email protected]>

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(-)
Signature · 1 line
2.21.0.392.gf8f6787159e-goog