From 6c2c018e15a1c4d3ae394333263e6c7c3eb30415 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Mon, 21 Oct 2019 21:42:17 +0200 Subject: mb/*/*/acpi_tables: Remove unnecessary function call Remove acpi_update_thermal_table local function. Change-Id: I4857348088feb8eaf1dd7f553c4efb29da8943cf Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/c/coreboot/+/36212 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/stout/acpi_tables.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/mainboard/google/stout') diff --git a/src/mainboard/google/stout/acpi_tables.c b/src/mainboard/google/stout/acpi_tables.c index 597cb8fb76..089fdee270 100644 --- a/src/mainboard/google/stout/acpi_tables.c +++ b/src/mainboard/google/stout/acpi_tables.c @@ -27,14 +27,6 @@ #include #include "thermal.h" -static void acpi_update_thermal_table(global_nvs_t *gnvs) -{ - /* EC handles all thermal and fan control on Stout. */ - gnvs->tcrt = CRITICAL_TEMPERATURE; - gnvs->tpsv = PASSIVE_TEMPERATURE; - gnvs->tmax = MAX_TEMPERATURE; -} - void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ @@ -51,7 +43,10 @@ void acpi_create_gnvs(global_nvs_t *gnvs) ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif - acpi_update_thermal_table(gnvs); + /* EC handles all thermal and fan control on Stout. */ + gnvs->tcrt = CRITICAL_TEMPERATURE; + gnvs->tpsv = PASSIVE_TEMPERATURE; + gnvs->tmax = MAX_TEMPERATURE; // the lid is open by default. gnvs->lids = 1; -- cgit v1.2.3