Skip to content

Commit 638f139

Browse files
Yue Haibingrafaeljw
authored andcommitted
ACPI: Remove assorted unused declarations of functions
acpi_create_dir()/acpi_remove_dir() are never implemented since the beginning of git history. Commit f8d3148 ("ACPICA: Debugger: Convert some mechanisms to OSPM specific") declared but never implemented acpi_run_debugger(). Commit 781d737 ("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>
1 parent 588b51d commit 638f139

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

drivers/acpi/internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ int __acpi_device_uevent_modalias(const struct acpi_device *adev,
123123
/* --------------------------------------------------------------------------
124124
Power Resource
125125
-------------------------------------------------------------------------- */
126-
int acpi_power_init(void);
127126
void acpi_power_resources_list_free(struct list_head *list);
128127
int acpi_extract_power_resources(union acpi_object *package, unsigned int start,
129128
struct list_head *list);

include/acpi/acpi_bus.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,6 @@ int acpi_match_device_ids(struct acpi_device *device,
563563
const struct acpi_device_id *ids);
564564
void acpi_set_modalias(struct acpi_device *adev, const char *default_id,
565565
char *modalias, size_t len);
566-
int acpi_create_dir(struct acpi_device *);
567-
void acpi_remove_dir(struct acpi_device *);
568566

569567
static inline bool acpi_device_enumerated(struct acpi_device *adev)
570568
{

include/acpi/acpixf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,8 +970,6 @@ ACPI_EXTERNAL_RETURN_STATUS(acpi_status
970970
void **data,
971971
void (*callback)(void *)))
972972

973-
void acpi_run_debugger(char *batch_buffer);
974-
975973
void acpi_set_debugger_thread_id(acpi_thread_id thread_id);
976974

977975
#endif /* __ACXFACE_H__ */

0 commit comments

Comments
 (0)