Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hanjun Guo and committed by
Rafael J. Wysocki
ab5369bb eb37ba31

-7
-7
drivers/acpi/acpi_dbg.c
··· 117 117 return false; 118 118 } 119 119 120 - static inline bool __acpi_aml_opened(void) 121 - { 122 - if (acpi_aml_io.flags & ACPI_AML_OPEN) 123 - return true; 124 - return false; 125 - } 126 - 127 120 static inline bool __acpi_aml_used(void) 128 121 { 129 122 return acpi_aml_io.usages ? true : false;