]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/UsbBus: Removing trailing spaces
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 25 Oct 2018 03:19:14 +0000 (11:19 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 25 Oct 2018 03:19:29 +0000 (11:19 +0800)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c

index 22b6a9d661139a73af49938ad1cbe16679b9eda2..7ff31bb656817b19a981636e29adc805bef16c3d 100644 (file)
@@ -184,7 +184,7 @@ UsbCreateDesc (
   }\r
 \r
   //\r
-  // Total length is too small that cannot hold the single descriptor header plus data. \r
+  // Total length is too small that cannot hold the single descriptor header plus data.\r
   //\r
   if (Len <= sizeof (USB_DESC_HEAD)) {\r
     DEBUG ((DEBUG_ERROR, "UsbCreateDesc: met mal-format descriptor, total length = %d!\n", Len));\r
@@ -658,7 +658,7 @@ UsbGetOneString (
   //\r
   // Reject if Length even cannot cover itself, or odd because Unicode string byte length should be even.\r
   //\r
-  if (EFI_ERROR (Status) || \r
+  if (EFI_ERROR (Status) ||\r
       (Desc.Length < OFFSET_OF (EFI_USB_STRING_DESCRIPTOR, Length) + sizeof (Desc.Length)) ||\r
       (Desc.Length % 2 != 0)\r
     ) {\r