]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVol.c
Update to fix minor coding style issues.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVol.c
index bdf87731fb9f88fb01eb063c3d1b7e1c7e45dee4..6a4d7b05b2abe521dcf4b39854de73ca7a932980 100644 (file)
@@ -2,15 +2,15 @@
   Firmware File System driver that produce Firmware Volume protocol.\r
   Layers on top of Firmware Block protocol to produce a file abstraction \r
   of FV based files.\r
-  \r
-Copyright (c) 2006 - 2008 Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this 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
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this 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
 \r
 **/\r
 \r
@@ -125,7 +125,6 @@ GetFwVolHeader (
   @return None.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 FreeFvDeviceResource (\r
   IN FV_DEVICE  *FvDevice\r
@@ -272,7 +271,7 @@ FvCheck (
   //\r
   // Scan to check the free space & File list\r
   //\r
-  if (FvbAttributes & EFI_FVB2_ERASE_POLARITY) {\r
+  if ((FvbAttributes & EFI_FVB2_ERASE_POLARITY) != 0) {\r
     FvDevice->ErasePolarity = 1;\r
   } else {\r
     FvDevice->ErasePolarity = 0;\r
@@ -382,7 +381,6 @@ Done:
   @param  Context               For EFI compatiblity.  Not used.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 NotifyFwVolBlock (\r