summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2020-11-13 10:20:29 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-17 18:12:34 +0100
commitab5369bba5189f44538bef07943f323992fe964e (patch)
treeab6f0c3979b6c3c0d12d1180d055e1384975e993
parenteb37ba316fdec9c6af36b8b155732568c5b2a2d4 (diff)
ACPI: debug: Remove the not used function
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>
-rw-r--r--drivers/acpi/acpi_dbg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/acpi/acpi_dbg.c b/drivers/acpi/acpi_dbg.c
index fb7290338593..d50261d05f3a 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;