summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-07-13 15:52:02 -0600
committerFelix Held <felix-coreboot@felixheld.de>2020-07-16 17:10:34 +0000
commitb20a16ef4ecc841a23c9753df4317b65101ce0e9 (patch)
treefaa959ff3ecc5a1b83001535ff257e29be811451 /src
parenta92a07d9c0a6079818385de78930a69459e4ee8a (diff)
downloadcoreboot-b20a16ef4ecc841a23c9753df4317b65101ce0e9.tar.xz
mb/amd/mandolin/.../sleep.asl: Remove unnecessary variable
There is no reason to create a named variable. We can just return the package. BUG=b:153001807, b:154756391 TEST=None Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ic0ca2e6d4fb833c68d29e9948a670ace7c89b6a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43464 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/mandolin/acpi/sleep.asl8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mainboard/amd/mandolin/acpi/sleep.asl b/src/mainboard/amd/mandolin/acpi/sleep.asl
index 89c6fa1575..db81e4aff8 100644
--- a/src/mainboard/amd/mandolin/acpi/sleep.asl
+++ b/src/mainboard/amd/mandolin/acpi/sleep.asl
@@ -1,8 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* Wake status package */
-Name(WKST,Package(){Zero, Zero})
-
/*
* \_PTS - Prepare to Sleep method
*
@@ -25,10 +22,7 @@ Method(_PTS, 1) {
/* DBGO(Arg0) */
/* DBGO("\n") */
- /* Clear wake status structure. */
Store(0, PEWD)
- Store(0, Index(WKST,0))
- Store(0, Index(WKST,1))
Store(7, UPWS)
} /* End Method(\_PTS) */
@@ -53,5 +47,5 @@ Method(\_WAK, 1) {
/* DBGO(Arg0) */
/* DBGO(" to S0\n") */
- Return(WKST)
+ Return(Package(){Zero, Zero})
} /* End Method(\_WAK) */