ACPI: debug: Remove the not used function
authorHanjun Guo <guohanjun@huawei.com>
Fri, 13 Nov 2020 02:20:29 +0000 (10:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Nov 2020 17:12:34 +0000 (18:12 +0100)
The inline function __acpi_aml_opened() is not used anywhere,
remove it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_dbg.c

index fb72903..d50261d 100644 (file)
@@ -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;