]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/PiSmmCore/Notify.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / Notify.c
index 0054fe66aab825cd81903159a05a1960b5b0ec40..6ff011e8740a347515bd852e39ad838dbf2ece65 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   Support functions for UEFI protocol notification infrastructure.\r
 \r
-  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials are licensed and made available \r
-  under the terms and conditions of the BSD License which accompanies this \r
-  distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are licensed and made available\r
+  under the terms and conditions of the BSD License which accompanies this\r
+  distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -116,7 +116,7 @@ SmmRegisterProtocolNotify (
   }\r
 \r
   if (Function == NULL) {\r
-       //\r
+    //\r
     // Get the protocol entry per Protocol\r
     //\r
     ProtEntry = SmmFindProtocolEntry ((EFI_GUID *) Protocol, FALSE);\r
@@ -126,7 +126,7 @@ SmmRegisterProtocolNotify (
            Link != &ProtEntry->Notify;\r
            Link = Link->ForwardLink) {\r
         //\r
-        // Compare the notification record \r
+        // Compare the notification record\r
         //\r
         if (ProtNotify == (CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE))){\r
           //\r
@@ -143,7 +143,7 @@ SmmRegisterProtocolNotify (
     // If the registration is not found\r
     //\r
     return EFI_NOT_FOUND;\r
-  } \r
+  }\r
 \r
   ProtNotify = NULL;\r
 \r