Commit 88ba5478 authored by Aaron Lu's avatar Aaron Lu Committed by Tejun Heo

libata: acpi: remove dead code for ata_acpi_(un)bind

Commit 7381fe73 "libata-acpi: remove redundent code for power resource
handling" removed ata_acpi_(un)bind but left their prototypes in libata.h,
so remove them.
Signed-off-by: default avatarAaron Lu <aaron.lu@intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent dc34e7e1
...@@ -120,8 +120,6 @@ extern void ata_acpi_on_disable(struct ata_device *dev); ...@@ -120,8 +120,6 @@ extern void ata_acpi_on_disable(struct ata_device *dev);
extern void ata_acpi_set_state(struct ata_port *ap, pm_message_t state); extern void ata_acpi_set_state(struct ata_port *ap, pm_message_t state);
extern int ata_acpi_register(void); extern int ata_acpi_register(void);
extern void ata_acpi_unregister(void); extern void ata_acpi_unregister(void);
extern void ata_acpi_bind(struct ata_device *dev);
extern void ata_acpi_unbind(struct ata_device *dev);
extern void ata_acpi_hotplug_init(struct ata_host *host); extern void ata_acpi_hotplug_init(struct ata_host *host);
#else #else
static inline void ata_acpi_dissociate(struct ata_host *host) { } static inline void ata_acpi_dissociate(struct ata_host *host) { }
...@@ -133,8 +131,6 @@ static inline void ata_acpi_set_state(struct ata_port *ap, ...@@ -133,8 +131,6 @@ static inline void ata_acpi_set_state(struct ata_port *ap,
pm_message_t state) { } pm_message_t state) { }
static inline int ata_acpi_register(void) { return 0; } static inline int ata_acpi_register(void) { return 0; }
static inline void ata_acpi_unregister(void) { } static inline void ata_acpi_unregister(void) { }
static inline void ata_acpi_bind(struct ata_device *dev) { }
static inline void ata_acpi_unbind(struct ata_device *dev) { }
static inline void ata_acpi_hotplug_init(struct ata_host *host) {} static inline void ata_acpi_hotplug_init(struct ata_host *host) {}
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment