Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2018-08-23 13:49:50 +0200
committerMatthias Brugger <mbrugger@suse.com>2018-08-24 10:10:44 +0200
commit80321c9340c99bdcf8fec988c468097fdec8a42d (patch)
tree6236e88aa2446678b2a2b193021924f804b3a6a1
parentbe2a8284194aa98daeba23af0140677aa4a262fa (diff)
ACPI/IORT: Remove temporary iort_get_id_mapping_index() ACPICA
guard (bsc#1103387). suse-commit: 05d48cc98ab935763c2c7d57d760131dc409b414
-rw-r--r--drivers/acpi/arm64/iort.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c
index a5c707904e0a..7078e3616532 100644
--- a/drivers/acpi/arm64/iort.c
+++ b/drivers/acpi/arm64/iort.c
@@ -370,7 +370,6 @@ static struct acpi_iort_node *iort_node_get_id(struct acpi_iort_node *node,
return NULL;
}
-#if (ACPI_CA_VERSION > 0x20170929)
static int iort_get_id_mapping_index(struct acpi_iort_node *node)
{
struct acpi_iort_smmu_v3 *smmu;
@@ -404,12 +403,6 @@ static int iort_get_id_mapping_index(struct acpi_iort_node *node)
return -EINVAL;
}
}
-#else
-static inline int iort_get_id_mapping_index(struct acpi_iort_node *node)
-{
- return -EINVAL;
-}
-#endif
static struct acpi_iort_node *iort_node_map_id(struct acpi_iort_node *node,
u32 id_in, u32 *id_out,