]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 6 Jan 2020 15:03:33 +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: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c

index 98dd80e33c0527b909f44dad97805f436ca9b5fb..2f2e1293a3ef7c3b36787a0c7187e17f74201c1f 100644 (file)
@@ -101,24 +101,6 @@ ResetShutdown (
 }\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 (1);\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