]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiPayloadPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 6 Jan 2020 15:03:01 +0000 (16:03 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Jan 2020 07:00:51 +0000 (07:00 +0000)
EnterS3WithImmediateWake () no longer has any callers, so remove it
from ResetSystemLib.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Guo Dong <guo.dong@intel.com>
UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c

index 3fe3c805afe06da399ad4205766cec3a9d50a1de..2e4b7fe59261087de6fe17b07cce13295c617aca 100644 (file)
@@ -131,24 +131,6 @@ ResetShutdown (
   ASSERT (FALSE);\r
 }\r
 \r
-/**\r
-  Calling this function causes the system to enter a power state for capsule\r
-  update.\r
-\r
-  Reset update should not return, if it returns, it means the system does\r
-  not support capsule update.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\r
-  AcpiPmControl (5);\r
-  ASSERT (FALSE);\r
-}\r
-\r
 /**\r
   This function causes a systemwide reset. The exact type of the reset is\r
   defined by the EFI_GUID that follows the Null-terminated Unicode string passed\r