MdeMdeModulePkg/Usb: Coding style alignment

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13459 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian 2012-06-18 06:16:55 +00:00
parent d69a7bc712
commit af3a71b85b
2 changed files with 4 additions and 4 deletions

View File

@ -587,10 +587,10 @@ InitializeUsbMouseDevice (
Start = TRUE;
}
}
if ((Start == TRUE) && (Head->Type == USB_DESC_TYPE_ENDPOINT)) {
if (Start && (Head->Type == USB_DESC_TYPE_ENDPOINT)) {
break;
}
if ((Start == TRUE) && (Head->Type == USB_DESC_TYPE_HID)) {
if (Start && (Head->Type == USB_DESC_TYPE_HID)) {
MouseHidDesc = (EFI_USB_HID_DESCRIPTOR *)Head;
break;
}

View File

@ -587,10 +587,10 @@ InitializeUsbMouseDevice (
Start = TRUE;
}
}
if ((Start == TRUE) && (Head->Type == USB_DESC_TYPE_ENDPOINT)) {
if (Start && (Head->Type == USB_DESC_TYPE_ENDPOINT)) {
break;
}
if ((Start == TRUE) && (Head->Type == USB_DESC_TYPE_HID)) {
if (Start && (Head->Type == USB_DESC_TYPE_HID)) {
MouseHidDesc = (EFI_USB_HID_DESCRIPTOR *)Head;
break;
}