From 072d436b3f72c788b4ec63e31ba75c832ff81c33 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 17 Jun 2016 08:44:40 +0300 Subject: ACPI S3: Cleanup RSDP reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Variable name shadows parameter name used on other functions, and it can be local anyway after function removal. Change-Id: I3164b15b33d877fef139f48ab2091e60e3124c3b Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/15240 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/arch/x86/acpi.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/arch/x86/acpi.c') diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 5640ad0654..cc6d2ad55e 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1071,24 +1071,16 @@ static acpi_rsdp_t *valid_rsdp(acpi_rsdp_t *rsdp) return rsdp; } -static acpi_rsdp_t *rsdp; - -void *acpi_get_wakeup_rsdp(void) -{ - return rsdp; -} - void *acpi_find_wakeup_vector(void) { char *p, *end; acpi_rsdt_t *rsdt; acpi_facs_t *facs; acpi_fadt_t *fadt = NULL; + acpi_rsdp_t *rsdp = NULL; void *wake_vec; int i; - rsdp = NULL; - if (!acpi_is_wakeup()) return NULL; -- cgit v1.2.3