diff options
author | Liming Gao <liming.gao@intel.com> | 2018-06-27 21:14:00 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-06-28 11:19:52 +0800 |
commit | 77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee (patch) | |
tree | 165a0742bc4af9973f73ad5443afdc07d8620254 /SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c | |
parent | ba0014b9f8ae1a593f03e744f26008214c2b06a8 (diff) | |
download | edk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.tar.gz edk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.tar.bz2 edk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.zip |
SourceLevelDebugPkg: Clean up source files
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c')
-rw-r--r-- | SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c index 0955aa6f0e..af9cc8f281 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c @@ -280,7 +280,7 @@ Usb3PciIoNotify ( );
if (!EFI_ERROR (Status) &&
(PciIoHandleBuffer != NULL) &&
- (PciIoHandleCount != 0)) {
+ (PciIoHandleCount != 0)) {
for (Index = 0; Index < PciIoHandleCount; Index++) {
Status = gBS->HandleProtocol (
PciIoHandleBuffer[Index],
@@ -327,7 +327,7 @@ Usb3PciIoNotify ( /**
Return USB3 debug instance address pointer.
-**/
+**/
EFI_PHYSICAL_ADDRESS *
GetUsb3DebugPortInstanceAddrPtr (
VOID
@@ -391,7 +391,7 @@ Usb3AllocateDmaBuffer ( Allocate aligned memory for XHC's usage.
@param BufferSize The size, in bytes, of the Buffer.
-
+
@return A pointer to the allocated buffer or NULL if allocation fails.
**/
@@ -403,9 +403,9 @@ AllocateAlignBuffer ( EFI_PHYSICAL_ADDRESS TmpAddr;
EFI_STATUS Status;
VOID *Buf;
-
+
Buf = NULL;
-
+
if (gBS != NULL) {
if (mUsb3PciIo != NULL) {
Usb3AllocateDmaBuffer (
|