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,9 +433,7 @@ DiscoverAtaDevice (
|
||||||
// The command is issued successfully
|
// The command is issued successfully
|
||||||
//
|
//
|
||||||
Status = IdentifyAtaDevice (AtaDevice);
|
Status = IdentifyAtaDevice (AtaDevice);
|
||||||
if (!EFI_ERROR (Status)) {
|
return Status;
|
||||||
return Status;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} while (Retry-- > 0);
|
} while (Retry-- > 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue