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:
erictian 2012-10-31 09:33:40 +00:00
parent 4fde0f15aa
commit 0d5df2aba7
1 changed files with 1 additions and 3 deletions

View File

@ -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);