From: Ard Biesheuvel Date: Mon, 6 Jan 2020 15:03:33 +0000 (+0100) Subject: OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib X-Git-Tag: edk2-stable202002~241 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2d9950a2bff892667510e7a00e3ad8ead295a96f;p=mirror_edk2.git OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 98dd80e33c..2f2e1293a3 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -101,24 +101,6 @@ ResetShutdown ( } -/** - Calling this function causes the system to enter a power state for capsule - update. - - Reset update should not return, if it returns, it means the system does - not support capsule update. - -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - AcpiPmControl (1); - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string passed