Revision: 15828
          http://sourceforge.net/p/edk2/code/15828
Author:   erictian
Date:     2014-08-19 05:37:28 +0000 (Tue, 19 Aug 2014)
Log Message:
-----------
MdeModulePkg/PartitionDxe: Simplify the error handling of 
DriverBindingSupported().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sergey Isakov <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c

Modified: trunk/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c     
2014-08-19 02:44:24 UTC (rev 15827)
+++ trunk/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c     
2014-08-19 05:37:28 UTC (rev 15828)
@@ -4,7 +4,7 @@
   of the raw block devices media. Currently "El Torito CD-ROM", Legacy
   MBR, and GPT partition schemes are supported.
 
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -165,11 +165,8 @@
                   ControllerHandle,
                   EFI_OPEN_PROTOCOL_TEST_PROTOCOL
                   );
-  if (EFI_ERROR (Status)) {
-    return Status;
-  }
 
-  return EFI_SUCCESS;  
+  return Status;
 }
 
 /**

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


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to