mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/AtaBusDxe: remove a redundant error check
Signed-off-by: Tian Feng <feng.tian@intel.com> Reviewed-by: Li Elvin <elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13902 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4fde0f15aa
commit
0d5df2aba7
|
@ -433,10 +433,8 @@ DiscoverAtaDevice (
|
|||
// The command is issued successfully
|
||||
//
|
||||
Status = IdentifyAtaDevice (AtaDevice);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
} while (Retry-- > 0);
|
||||
|
||||
return Status;
|
||||
|
|
Loading…
Reference in New Issue