diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-04 22:27:37 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-04 22:27:37 +0000 |
commit | 63e78d5254338fe4b622e3037d1291af9dcb6198 (patch) | |
tree | da27762582330776174e9fe88ee70ac8e64cef4c /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | |
parent | ae69c0473611cd817ca8668db949801307e45dad (diff) | |
download | edk2-platforms-63e78d5254338fe4b622e3037d1291af9dcb6198.tar.xz |
Fix X64 clang warnings.
Reviewed by: Rui Sun
Approved by: Rui Sun
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11753 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c index cb892e3ebc..55fe5c873c 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c @@ -359,7 +359,7 @@ UsbParseConfigDesc ( while (Len >= sizeof (EFI_USB_INTERFACE_DESCRIPTOR)) {
Setting = UsbParseInterfaceDesc (DescBuf, Len, &Consumed);
- if ((Setting == NULL)) {
+ if (Setting == NULL) {
DEBUG (( EFI_D_ERROR, "UsbParseConfigDesc: failed to parse interface setting\n"));
goto ON_ERROR;
|