diff options
Diffstat (limited to 'MdeModulePkg/Bus/Ata')
-rw-r--r-- | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c index 5e5cab6575..d44359cfcf 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c @@ -433,9 +433,7 @@ DiscoverAtaDevice ( // The command is issued successfully
//
Status = IdentifyAtaDevice (AtaDevice);
- if (!EFI_ERROR (Status)) {
- return Status;
- }
+ return Status;
}
} while (Retry-- > 0);
|