Revision: 13902
          http://edk2.svn.sourceforge.net/edk2/?rev=13902&view=rev
Author:   erictian
Date:     2012-10-31 09:33:40 +0000 (Wed, 31 Oct 2012)
Log Message:
-----------
MdeModulePkg/AtaBusDxe: remove a redundant error check

Signed-off-by: Tian Feng <[email protected]>
Reviewed-by: Li Elvin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c

Modified: trunk/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c      
2012-10-31 08:58:27 UTC (rev 13901)
+++ trunk/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c      
2012-10-31 09:33:40 UTC (rev 13902)
@@ -433,9 +433,7 @@
       // The command is issued successfully
       //
       Status = IdentifyAtaDevice (AtaDevice);
-      if (!EFI_ERROR (Status)) {
-        return Status;
-      }
+      return Status;
     }
   } while (Retry-- > 0);
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to