diff mbox series

[04/25] ACPI: debug: Remove the not used function

Message ID 1600328345-27627-5-git-send-email-guohanjun@huawei.com (mailing list archive)
State Changes Requested, archived
Headers show
Series ACPI: First step to decouple ACPICA debug functionality from ACPI driver | expand

Commit Message

Hanjun Guo Sept. 17, 2020, 7:38 a.m. UTC
The inline function __acpi_aml_opened() is not used anywhere,
remove it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---
 drivers/acpi/acpi_dbg.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpi_dbg.c b/drivers/acpi/acpi_dbg.c
index 6041974..02f7e42 100644
--- a/drivers/acpi/acpi_dbg.c
+++ b/drivers/acpi/acpi_dbg.c
@@ -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;