diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2020-11-13 10:20:29 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-17 18:12:34 +0100 |
commit | ab5369bba5189f44538bef07943f323992fe964e (patch) | |
tree | ab6f0c3979b6c3c0d12d1180d055e1384975e993 /drivers/acpi | |
parent | eb37ba316fdec9c6af36b8b155732568c5b2a2d4 (diff) | |
download | linux-ab5369bba5189f44538bef07943f323992fe964e.tar.bz2 |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpi_dbg.c | 7 |
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; |