Skip to content

Commit 09cda9a

Browse files
Zenghui Yuwilldeacon
authored andcommitted
ACPI/IORT: Remove the unused __get_pci_rid()
Since commit bc8648d ("ACPI/IORT: Handle PCI aliases properly for IOMMUs"), __get_pci_rid() has become actually unused and can be removed. Signed-off-by: Zenghui Yu <[email protected]> Acked-by: Lorenzo Pieralisi <[email protected]> Acked-by: Hanjun Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 50c8ab8 commit 09cda9a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/acpi/arm64/iort.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -772,15 +772,6 @@ void acpi_configure_pmsi_domain(struct device *dev)
772772
dev_set_msi_domain(dev, msi_domain);
773773
}
774774

775-
static int __maybe_unused __get_pci_rid(struct pci_dev *pdev, u16 alias,
776-
void *data)
777-
{
778-
u32 *rid = data;
779-
780-
*rid = alias;
781-
return 0;
782-
}
783-
784775
#ifdef CONFIG_IOMMU_API
785776
static struct acpi_iort_node *iort_get_msi_resv_iommu(struct device *dev)
786777
{

0 commit comments

Comments
 (0)