diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-12-12 09:51:55 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-12-12 09:51:55 +0000 |
commit | 7f070be5c98b39842f5d692d28406216f7e726fb (patch) | |
tree | 968484dbfebe539a5dc284ed8dc198ace2c61ae7 /MdeModulePkg | |
parent | 978929a902a29127f5616d28cd8edce80148df5c (diff) | |
download | edk2-7f070be5c98b39842f5d692d28406216f7e726fb.zip edk2-7f070be5c98b39842f5d692d28406216f7e726fb.tar.gz edk2-7f070be5c98b39842f5d692d28406216f7e726fb.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c index 0d9d066..066ce9e 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c @@ -506,7 +506,7 @@ UnregisterAtaDevice ( }
ReleaseAtaResources (AtaDevice);
- return Status;
+ return EFI_SUCCESS;
}
|