Make USB Stack code pass ECC tool check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5405 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2008-07-02 05:45:04 +00:00
parent a7f3d10548
commit a92d4e8a8e
3 changed files with 3 additions and 3 deletions

View File

@ -1640,7 +1640,7 @@ FREE_POOL:
gBS->FreePool (Ehc);
CLOSE_PCIIO:
if (PciAttributesSaved == TRUE) {
if (PciAttributesSaved) {
//
// Restore original PCI attributes
//

View File

@ -1756,7 +1756,7 @@ FREE_UHC:
UhciFreeDev (Uhc);
CLOSE_PCIIO:
if (PciAttributesSaved == TRUE) {
if (PciAttributesSaved) {
//
// Restore original PCI attributes
//

View File

@ -817,7 +817,7 @@ UsbIoPortReset (
UsbIf = USB_INTERFACE_FROM_USBIO (This);
Dev = UsbIf->Device;
if (UsbIf->IsHub == TRUE) {
if (UsbIf->IsHub) {
Status = EFI_INVALID_PARAMETER;
goto ON_EXIT;
}