mirror of https://github.com/acidanthera/audk.git
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:
parent
d69a7bc712
commit
af3a71b85b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue