]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: remove EnterS3WithImmediateWake () from ResetSystemLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 6 Jan 2020 15:01:20 +0000 (16:01 +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: Ray Ni <ray.ni@intel.com>
MdeModulePkg/Include/Library/ResetSystemLib.h
MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.c
MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c
MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c
MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c

index 3b2a098a6082c7480a2a4ae7380410a4af5e317c..09ee14540c44961b5bb2f43c16010b9656d4bcba 100644 (file)
@@ -51,17 +51,6 @@ ResetShutdown (
   VOID\r
   );\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\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
index 8d4c1028e603b5d089e6d020e9aa49d8fff63e4c..33a896bee05494f3e4012b9fe251e3803c5663c0 100644 (file)
@@ -58,20 +58,6 @@ ResetShutdown (
   ASSERT (FALSE);\r
 }\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\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
index a85b6cd9a6159df1cf16c6a3a7bb6dd41a0afc09..47b814fe8deecce59eb62b3fd8dd34b543b8f789 100644 (file)
@@ -57,19 +57,6 @@ ResetShutdown (
   gRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, 0, NULL);\r
 }\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\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
index 50297129b7c82fd3290eeb8eab3f7bfbd113c7f4..6c8c770ca375ae80168e867090c79e020d2028e2 100644 (file)
@@ -57,19 +57,6 @@ ResetShutdown (
   PeiServicesResetSystem2 (EfiResetShutdown, EFI_SUCCESS, 0, NULL);\r
 }\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\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
index 29b3f7ebd8713f6ee50f88dccee31d3a4c42bc32..f4490180ccf9070eaf85ba2819f7af54c264cd2d 100644 (file)
@@ -62,19 +62,6 @@ ResetShutdown (
   mInternalRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, 0, NULL);\r
 }\r
 \r
-/**\r
-  This function causes the system to enter S3 and then wake up immediately.\r
-\r
-  If this function returns, it means that the system does not support S3 feature.\r
-**/\r
-VOID\r
-EFIAPI\r
-EnterS3WithImmediateWake (\r
-  VOID\r
-  )\r
-{\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