mirror of https://github.com/acidanthera/audk.git
edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:
Corrected usage of parenthesis for 'if' boolean condition. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
47166333b1
commit
9e58aa1d3c
|
@ -964,8 +964,8 @@ MatchUsbClass (
|
|||
UsbClassDevicePathPtr->DeviceClass == 0xff) &&
|
||||
(UsbClassDevicePathPtr->DeviceSubClass == ActIfDesc->InterfaceSubClass ||
|
||||
UsbClassDevicePathPtr->DeviceSubClass == 0xff) &&
|
||||
(UsbClassDevicePathPtr->DeviceProtocol == ActIfDesc->InterfaceProtocol) ||
|
||||
UsbClassDevicePathPtr->DeviceProtocol == 0xff) {
|
||||
(UsbClassDevicePathPtr->DeviceProtocol == ActIfDesc->InterfaceProtocol ||
|
||||
UsbClassDevicePathPtr->DeviceProtocol == 0xff)) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -973,8 +973,8 @@ MatchUsbClass (
|
|||
UsbClassDevicePathPtr->DeviceClass == 0xff) &&
|
||||
(UsbClassDevicePathPtr->DeviceSubClass == DevDesc->DeviceSubClass ||
|
||||
UsbClassDevicePathPtr->DeviceSubClass == 0xff) &&
|
||||
(UsbClassDevicePathPtr->DeviceProtocol == DevDesc->DeviceProtocol) ||
|
||||
UsbClassDevicePathPtr->DeviceProtocol == 0xff) {
|
||||
(UsbClassDevicePathPtr->DeviceProtocol == DevDesc->DeviceProtocol ||
|
||||
UsbClassDevicePathPtr->DeviceProtocol == 0xff)) {
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue