diff options
author | Raul E Rangel <rrangel@chromium.org> | 2020-07-13 15:52:02 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-07-15 08:37:42 +0000 |
commit | b3d7ced51298cacb02ef3856b588b7c2950b2e4a (patch) | |
tree | 7c7c74020e805334c3ce4748bf1af832ccf29b13 /src/mainboard/google | |
parent | 0c0bcd4072746582d8837dd7eca2f1731ce35561 (diff) | |
download | coreboot-b3d7ced51298cacb02ef3856b588b7c2950b2e4a.tar.xz |
mb/google/zork/.../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: I4f8f0362adf5ea5f026d0ba5ac6ac917fa160142
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43423
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/sleep.asl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/sleep.asl b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/sleep.asl index 90cc0d8522..c5cd203b99 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/sleep.asl +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/sleep.asl @@ -1,8 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -/* 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) */ |