adjust error process code position.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9249 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user