From 67a2507c78bbad898e7ee1dbc789c6f3f076b1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 17 Nov 2020 16:41:38 +0200 Subject: ACPI S3: Remove unused acpi_is_wakeup_s4() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id4728b637c784ee2bff7b175e13f4c10419b7f1b Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/47692 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/arch/x86/acpi_s3.c | 5 ----- src/include/acpi/acpi.h | 2 -- 2 files changed, 7 deletions(-) (limited to 'src') diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c index e805ca3582..af4ab5efa5 100644 --- a/src/arch/x86/acpi_s3.c +++ b/src/arch/x86/acpi_s3.c @@ -41,11 +41,6 @@ int acpi_is_wakeup_s3(void) return (acpi_slp_type == ACPI_S3); } -int acpi_is_wakeup_s4(void) -{ - acpi_handoff_wakeup(); - return (acpi_slp_type == ACPI_S4); -} #endif /* ENV_RAMSTAGE */ #define WAKEUP_BASE 0x600 diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 78740fb796..2fc5f8e006 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -1072,13 +1072,11 @@ static inline int acpi_is_wakeup_s3(void) #else int acpi_is_wakeup(void); int acpi_is_wakeup_s3(void); -int acpi_is_wakeup_s4(void); #endif #else static inline int acpi_is_wakeup(void) { return 0; } static inline int acpi_is_wakeup_s3(void) { return 0; } -static inline int acpi_is_wakeup_s4(void) { return 0; } #endif static inline uintptr_t acpi_align_current(uintptr_t current) -- cgit v1.2.3