summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Ata/AtaBusDxe
diff options
context:
space:
mode:
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-12 09:51:55 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-12 09:51:55 +0000
commit7f070be5c98b39842f5d692d28406216f7e726fb (patch)
tree968484dbfebe539a5dc284ed8dc198ace2c61ae7 /MdeModulePkg/Bus/Ata/AtaBusDxe
parent978929a902a29127f5616d28cd8edce80148df5c (diff)
downloadedk2-platforms-7f070be5c98b39842f5d692d28406216f7e726fb.tar.xz
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/Bus/Ata/AtaBusDxe')
-rw-r--r--MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
index 0d9d066df9..066ce9e286 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;
}