2023-06-20 10:05:51

by Yue Haibing

[permalink] [raw]
Subject: [PATCH -next] x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine()

This is now unused, so can be removed.

Signed-off-by: YueHaibing <[email protected]>
---
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



2023-06-21 18:09:03

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH -next] x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine()

On Tue, Jun 20, 2023 at 11:45 AM YueHaibing <[email protected]> wrote:
>
> This is now unused, so can be removed.
>
> Signed-off-by: YueHaibing <[email protected]>

Acked-by: Rafael J. Wysocki <[email protected]>

> ---
> 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
>