From 07a4e56e7568720d561cfd788cc342a3901a6628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 27 Jun 2020 14:24:05 +0300 Subject: mb/intel,samsung: Drop unused static gnvs_ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I920e5e6a3fa92ede4a0b0388962b55208a7dee48 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/42847 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/mainboard/intel/emeraldlake2/acpi_tables.c | 4 ---- src/mainboard/samsung/lumpy/acpi_tables.c | 4 ---- src/mainboard/samsung/stumpy/acpi_tables.c | 4 ---- 3 files changed, 12 deletions(-) (limited to 'src') diff --git a/src/mainboard/intel/emeraldlake2/acpi_tables.c b/src/mainboard/intel/emeraldlake2/acpi_tables.c index 36d0d66fd8..dd98883ff6 100644 --- a/src/mainboard/intel/emeraldlake2/acpi_tables.c +++ b/src/mainboard/intel/emeraldlake2/acpi_tables.c @@ -8,12 +8,8 @@ #include "thermal.h" -static global_nvs_t *gnvs_; - void acpi_create_gnvs(global_nvs_t *gnvs) { - gnvs_ = gnvs; - /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; diff --git a/src/mainboard/samsung/lumpy/acpi_tables.c b/src/mainboard/samsung/lumpy/acpi_tables.c index aafbdb6638..c1489eb7fd 100644 --- a/src/mainboard/samsung/lumpy/acpi_tables.c +++ b/src/mainboard/samsung/lumpy/acpi_tables.c @@ -11,12 +11,8 @@ #include "thermal.h" -static global_nvs_t *gnvs_; - void acpi_create_gnvs(global_nvs_t *gnvs) { - gnvs_ = gnvs; - /* * Disable 3G in suspend by default. * Provide option to enable for http://crosbug.com/p/7925 diff --git a/src/mainboard/samsung/stumpy/acpi_tables.c b/src/mainboard/samsung/stumpy/acpi_tables.c index b66e4ddd66..9793c1cf94 100644 --- a/src/mainboard/samsung/stumpy/acpi_tables.c +++ b/src/mainboard/samsung/stumpy/acpi_tables.c @@ -8,12 +8,8 @@ #include "thermal.h" -static global_nvs_t *gnvs_; - void acpi_create_gnvs(global_nvs_t *gnvs) { - gnvs_ = gnvs; - /* Enable Front USB ports in S3 by default */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; -- cgit v1.2.3