]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the error checking for multi-instance device path since Dxecore has been enhan...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:35:01 +0000 (14:35 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:35:01 +0000 (14:35 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9295 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/Hand/Locate.c

index 861cf12ee60e5502871f9403cdd4cb3e0e994c30..5a30c5264f5ab0a6fa6b8ed5bbbdea0d18b4efe7 100644 (file)
@@ -465,14 +465,6 @@ CoreLocateDevicePath (
 \r
   SourceSize = (UINTN) TmpDevicePath - (UINTN) SourcePath;\r
 \r
-  //\r
-  // The source path can only have 1 instance\r
-  //\r
-  if (IsDevicePathMultiInstance (SourcePath)) {\r
-    DEBUG((DEBUG_ERROR, "LocateDevicePath: Device path has too many instances\n"));\r
-    return EFI_INVALID_PARAMETER;\r
-  }\r
-\r
   //\r
   // Get a list of all handles that support the requested protocol\r
   //\r