Skip to contentSkip to conversation

ACPI: debug: Remove the not used function

PATCH New Hanjun Guo 1 participant 1 message Nov 13, 2020 ACPI

lore
Share & tools
lore

Hanjun Guo

author
#0 lore raw

PATCH 1/1 ACPI: debug: Remove the not used function

The inline function __acpi_aml_opened() is not used anywhere, remove it.

---
 drivers/acpi/acpi_dbg.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/acpi/acpi_dbg.c +0 -7
index fb72903..d50261d 100644
@@ -117,13 +117,6 @@ static inline bool __acpi_aml_busy(void)
 	return false;
 }
 
-static inline bool __acpi_aml_opened(void)
-{
-	if (acpi_aml_io.flags & ACPI_AML_OPEN)
-		return true;
-	return false;
-}
-
 static inline bool __acpi_aml_used(void)
 {
 	return acpi_aml_io.usages ? true : false;
Signature · 1 line
1.7.12.4