diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-08 08:13:08 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-08 08:13:08 +0000 |
commit | 9d0ece87aa3eb4f1fe40a867eae7fa8281c48cd9 (patch) | |
tree | ebe302a0a0148044ee6e9e650d87ba7a4211be96 /IntelFrameworkModulePkg/Bus | |
parent | 2277ab96eb366cfbc8dc6ad12717cfa669e1b12d (diff) | |
download | edk2-platforms-9d0ece87aa3eb4f1fe40a867eae7fa8281c48cd9.tar.xz |
adjust error process code position.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9249 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c index 0d182cf562..4bd4413242 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c @@ -189,6 +189,10 @@ IDEBusDriverBindingSupported ( return EFI_SUCCESS;
}
+ if (EFI_ERROR (Status)) {
+ return Status;
+ }
+
//
// If protocols were opened normally, closed it
//
@@ -199,10 +203,6 @@ IDEBusDriverBindingSupported ( Controller
);
- if (EFI_ERROR (Status)) {
- return Status;
- }
-
//
// Open the EFI Device Path protocol needed to perform the supported test
//
|