]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
[mirror_edk2.git] / EdkModulePkg / Universal / EmuVariable / RuntimeDxe / EmuVariable.c
index 8695b7526a699d734d8faa8dfbec9b0632861744..741116ae3f99cc5154ef1d9fac8684655fd92ca9 100644 (file)
@@ -27,7 +27,7 @@ Revision History
 ESAL_VARIABLE_GLOBAL  *mVariableModuleGlobal;\r
 \r
 //\r
-// This is a temperary function which will be removed \r
+// This is a temperary function which will be removed\r
 // when EfiAcquireLock in UefiLib can handle the\r
 // the call in UEFI Runtimer driver in RT phase.\r
 //\r
@@ -43,7 +43,7 @@ AcquireLockOnlyAtBootTime (
 }\r
 \r
 //\r
-// This is a temperary function which will be removed \r
+// This is a temperary function which will be removed\r
 // when EfiAcquireLock in UefiLib can handle the\r
 // the call in UEFI Runtimer driver in RT phase.\r
 //\r
@@ -426,7 +426,7 @@ Returns:
 Done:\r
   ReleaseLockOnlyAtBootTime (&Global->VariableServicesLock);\r
   return Status;\r
\r
+\r
 }\r
 \r
 EFI_STATUS\r
@@ -485,8 +485,8 @@ Returns:
     goto Done;\r
   } else if (!EFI_ERROR (Status) && Variable.Volatile && EfiAtRuntime()) {\r
     //\r
-    // If EfiAtRuntime and the variable is Volatile and Runtime Access,  \r
-    // the volatile is ReadOnly, and SetVariable should be aborted and \r
+    // If EfiAtRuntime and the variable is Volatile and Runtime Access,\r
+    // the volatile is ReadOnly, and SetVariable should be aborted and\r
     // return EFI_WRITE_PROTECTED.\r
     //\r
     Status = EFI_WRITE_PROTECTED;\r
@@ -622,7 +622,6 @@ Done:
   return Status;\r
 }\r
 \r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
 EFI_STATUS\r
 EFIAPI\r
 QueryVariableInfo (\r
@@ -693,7 +692,7 @@ Returns:
   }\r
 \r
   AcquireLockOnlyAtBootTime(&Global->VariableServicesLock);\r
-  \r
+\r
   if((Attributes & EFI_VARIABLE_NON_VOLATILE) == 0) {\r
     //\r
     // Query is Volatile related.\r
@@ -747,7 +746,6 @@ Returns:
   ReleaseLockOnlyAtBootTime (&Global->VariableServicesLock);\r
   return EFI_SUCCESS;\r
 }\r
-#endif\r
 \r
 STATIC\r
 EFI_STATUS\r
@@ -827,7 +825,7 @@ Returns:
   }\r
 \r
   EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_NOTIFY);\r
-  \r
+\r
   //\r
   // Intialize volatile variable store\r
   //\r