[-next] x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine()

Message ID 20230620094519.15300-1-yuehaibing@huawei.com
State New
Headers
Series [-next] x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine() |

Commit Message

Yue Haibing June 20, 2023, 9:45 a.m. UTC
  This is now unused, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/x86/kernel/acpi/sleep.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Rafael J. Wysocki June 21, 2023, 5:46 p.m. UTC | #1
On Tue, Jun 20, 2023 at 11:45 AM YueHaibing <yuehaibing@huawei.com> wrote:
>
> This is now unused, so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

> ---
>  arch/x86/kernel/acpi/sleep.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kernel/acpi/sleep.h b/arch/x86/kernel/acpi/sleep.h
> index 171a40c74db6..054c15a2f860 100644
> --- a/arch/x86/kernel/acpi/sleep.h
> +++ b/arch/x86/kernel/acpi/sleep.h
> @@ -12,7 +12,6 @@ extern int wakeup_pmode_return;
>
>  extern u8 wake_sleep_flags;
>
> -extern unsigned long acpi_copy_wakeup_routine(unsigned long);
>  extern void wakeup_long64(void);
>
>  extern void do_suspend_lowlevel(void);
> --
> 2.34.1
>
  

Patch

diff --git a/arch/x86/kernel/acpi/sleep.h b/arch/x86/kernel/acpi/sleep.h
index 171a40c74db6..054c15a2f860 100644
--- a/arch/x86/kernel/acpi/sleep.h
+++ b/arch/x86/kernel/acpi/sleep.h
@@ -12,7 +12,6 @@  extern int wakeup_pmode_return;
 
 extern u8 wake_sleep_flags;
 
-extern unsigned long acpi_copy_wakeup_routine(unsigned long);
 extern void wakeup_long64(void);
 
 extern void do_suspend_lowlevel(void);