MdeModulePkg: Fix a bug that UnregisterAtaDev() will return error when SSP protocol is not installed

Signed-off-by: erictian
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12835 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian 2011-12-12 09:51:55 +00:00
parent 978929a902
commit 7f070be5c9
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ UnregisterAtaDevice (
}
ReleaseAtaResources (AtaDevice);
return Status;
return EFI_SUCCESS;
}