forked from luck/tmp_suning_uos_patched
ACPI/IORT: Remove the unused __get_pci_rid()
Since commit bc8648d49a
("ACPI/IORT: Handle PCI aliases properly for
IOMMUs"), __get_pci_rid() has become actually unused and can be removed.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/20200509093430.1983-1-yuzenghui@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
50c8ab8d9f
commit
09cda9a713
|
@ -772,15 +772,6 @@ void acpi_configure_pmsi_domain(struct device *dev)
|
|||
dev_set_msi_domain(dev, msi_domain);
|
||||
}
|
||||
|
||||
static int __maybe_unused __get_pci_rid(struct pci_dev *pdev, u16 alias,
|
||||
void *data)
|
||||
{
|
||||
u32 *rid = data;
|
||||
|
||||
*rid = alias;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IOMMU_API
|
||||
static struct acpi_iort_node *iort_get_msi_resv_iommu(struct device *dev)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user