From 91d9cbc2fbc62ede85e4eae07c52c43ffe7a4eb3 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 8 Dec 2015 15:04:23 -0700 Subject: ACPI: Fix IASL Warning about unused method for _OSI check According to the ACPI Spec for CondRefOf, the result argument is optional. In all of these locations, it was getting set but not used, creating a warning in new versions of IASL. Since it's an optional argument, just remove it. dsdt.aml 22: if(CondRefOf(\_OSI,Local1)) Warning 3144 - ^ Method Local is set but never used (Local1) Change-Id: I07f49ac5a3708838d1c4a7216dfb11acc415c881 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/12692 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/siemens/sitemp_g1p1/acpi/platform.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/siemens') diff --git a/src/mainboard/siemens/sitemp_g1p1/acpi/platform.asl b/src/mainboard/siemens/sitemp_g1p1/acpi/platform.asl index 3dbc3f277f..bda467a2c1 100644 --- a/src/mainboard/siemens/sitemp_g1p1/acpi/platform.asl +++ b/src/mainboard/siemens/sitemp_g1p1/acpi/platform.asl @@ -36,7 +36,7 @@ Scope(\_SB) { Store (2000, OSYS) - If (CondRefOf(_OSI, Local0)) { + If (CondRefOf(_OSI)) { If (_OSI("Linux")) { Store (1, LINX) @@ -59,4 +59,4 @@ Scope(\_SB) } } } -} \ No newline at end of file +} -- cgit v1.2.3