summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-14 21:56:23 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-17 19:51:44 +0200
commit638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2 (patch)
tree1d1a9ece197f17161883cc6e53a6e657590e400f /include/acpi
parent588b51ddc7dc96c4876e71bc155bd38a6bd59a14 (diff)
downloadlwn-638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2.tar.gz
lwn-638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2.zip
ACPI: Remove assorted unused declarations of functions
acpi_create_dir()/acpi_remove_dir() are never implemented since the beginning of git history. Commit f8d31489629c ("ACPICA: Debugger: Convert some mechanisms to OSPM specific") declared but never implemented acpi_run_debugger(). Commit 781d737c7466 ("ACPI: Drop power resources driver") removed acpi_power_init() but not its declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h2
-rw-r--r--include/acpi/acpixf.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index c941d99162c0..449ec8a015bf 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -563,8 +563,6 @@ int acpi_match_device_ids(struct acpi_device *device,
const struct acpi_device_id *ids);
void acpi_set_modalias(struct acpi_device *adev, const char *default_id,
char *modalias, size_t len);
-int acpi_create_dir(struct acpi_device *);
-void acpi_remove_dir(struct acpi_device *);
static inline bool acpi_device_enumerated(struct acpi_device *adev)
{
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 9ffdc0425bc2..cb64010cc5d8 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -970,8 +970,6 @@ ACPI_EXTERNAL_RETURN_STATUS(acpi_status
void **data,
void (*callback)(void *)))
-void acpi_run_debugger(char *batch_buffer);
-
void acpi_set_debugger_thread_id(acpi_thread_id thread_id);
#endif /* __ACXFACE_H__ */