]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLib.c
FmpDevicePkg: Apply uncrustify changes
[mirror_edk2.git] / FmpDevicePkg / Library / FmpDeviceLibNull / FmpDeviceLib.c
index 92f202112f6946236eab4fa49f4100cde9d7579f..2e5c17b2b0f92ebffb9b6d4904dc01372371f233 100644 (file)
@@ -131,6 +131,7 @@ FmpDeviceGetSize (
   if (Size == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
+\r
   *Size = 0;\r
   return EFI_SUCCESS;\r
 }\r
@@ -184,13 +185,14 @@ FmpDeviceGetImageTypeIdGuidPtr (
 EFI_STATUS\r
 EFIAPI\r
 FmpDeviceGetAttributes (\r
-  OUT UINT64    *Supported,\r
-  OUT UINT64    *Setting\r
+  OUT UINT64  *Supported,\r
+  OUT UINT64  *Setting\r
   )\r
 {\r
-  if (Supported == NULL || Setting == NULL) {\r
+  if ((Supported == NULL) || (Setting == NULL)) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
+\r
   *Supported = 0;\r
   *Setting   = 0;\r
   return EFI_SUCCESS;\r
@@ -268,6 +270,7 @@ FmpDeviceGetVersionString (
   if (VersionString == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
+\r
   *VersionString = NULL;\r
   return EFI_UNSUPPORTED;\r
 }\r
@@ -527,15 +530,15 @@ FmpDeviceSetImage (
 {\r
   UINT32  LastAttemptStatus;\r
 \r
-  return  FmpDeviceSetImageWithStatus (\r
-            Image,\r
-            ImageSize,\r
-            VendorCode,\r
-            Progress,\r
-            CapsuleFwVersion,\r
-            AbortReason,\r
-            &LastAttemptStatus\r
-            );\r
+  return FmpDeviceSetImageWithStatus (\r
+           Image,\r
+           ImageSize,\r
+           VendorCode,\r
+           Progress,\r
+           CapsuleFwVersion,\r
+           AbortReason,\r
+           &LastAttemptStatus\r
+           );\r
 }\r
 \r
 /**\r