]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
MdeModulePkg: Fix a bug that UnregisterAtaDev() will return error when SSP protocol...
[mirror_edk2.git] / MdeModulePkg / Bus / Ata / AtaBusDxe / AtaBus.c
index 0d9d066df9bd2f7532114b15df8e0abca3aaec84..066ce9e28600e6300b9e07c5f2faf402c5370721 100644 (file)
@@ -506,7 +506,7 @@ UnregisterAtaDevice (
   }\r
 \r
   ReleaseAtaResources (AtaDevice);\r
-  return Status;\r
+  return EFI_SUCCESS;\r
 }\r
 \r
 \r