]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMassStorageDxe / UsbMassBoot.c
index 3bf6e6a81f3c122dcfdc4819a26c4e365fea3d64..dd5950c54c291ba09ad11651ed5175ad73f650c2 100644 (file)
@@ -224,7 +224,7 @@ UsbBootExecCmd (
   If the device isn't ready, wait for it. If the device is ready\r
   and error occurs, retry the command again until it exceeds the\r
   limit of retrial times.\r
-  \r
+\r
   @param  UsbMass                The device to issue commands to\r
   @param  Cmd                    The command to execute\r
   @param  CmdLen                 The length of the command\r
@@ -412,7 +412,7 @@ UsbBootInquiry (
   @retval EFI_SUCCESS            The disk geometry is successfully retrieved.\r
   @retval EFI_NOT_READY          The returned block size is zero.\r
   @retval Other                  READ CAPACITY 16 bytes command execution failed.\r
\r
+\r
 **/\r
 EFI_STATUS\r
 UsbBootReadCapacity16 (\r
@@ -442,7 +442,7 @@ UsbBootReadCapacity16 (
   ZeroMem ((CapacityCmd + 2), 8);\r
 \r
   CapacityCmd[13] = sizeof (CapacityData);\r
-  \r
+\r
   Status = UsbBootExecCmdWithRetry (\r
              UsbMass,\r
              CapacityCmd,\r
@@ -464,13 +464,13 @@ UsbBootReadCapacity16 (
   Media->LastBlock    = SwapBytes64 (ReadUnaligned64 ((CONST UINT64 *) &(CapacityData.LastLba7)));\r
 \r
   BlockSize           = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) &(CapacityData.BlockSize3)));\r
-  \r
+\r
   Media->LowestAlignedLba = (CapacityData.LowestAlignLogic2 << 8) |\r
                              CapacityData.LowestAlignLogic1;\r
   Media->LogicalBlocksPerPhysicalBlock  = (1 << CapacityData.LogicPerPhysical);\r
   if (BlockSize == 0) {\r
     //\r
-    //  Get sense data  \r
+    //  Get sense data\r
     //\r
     return UsbBootRequestSense (UsbMass);\r
   } else {\r
@@ -494,7 +494,7 @@ UsbBootReadCapacity16 (
   @retval EFI_SUCCESS            The disk geometry is successfully retrieved.\r
   @retval EFI_NOT_READY          The returned block size is zero.\r
   @retval Other                  READ CAPACITY command execution failed.\r
\r
+\r
 **/\r
 EFI_STATUS\r
 UsbBootReadCapacity (\r
@@ -538,7 +538,7 @@ UsbBootReadCapacity (
   BlockSize           = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) CapacityData.BlockLen));\r
   if (BlockSize == 0) {\r
     //\r
-    //  Get sense data  \r
+    //  Get sense data\r
     //\r
     return UsbBootRequestSense (UsbMass);\r
   } else {\r