projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb37ba3
)
ACPI: debug: Remove the not used function
author
Hanjun Guo
<guohanjun@huawei.com>
Fri, 13 Nov 2020 02:20:29 +0000
(10:20 +0800)
committer
Rafael 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
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpi_dbg.c
b/drivers/acpi/acpi_dbg.c
index
fb72903
..
d50261d
100644
(file)
--- 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;