summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-21 14:35:01 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-21 14:35:01 +0000
commit81bf52d6d87e92f21678140322d32b726fc8f3b7 (patch)
tree134674b8871c3a09c2bdd5888feddaee25f85086 /MdeModulePkg/Core/Dxe
parentdc07b3d549c2baaa4aa394d7b5350e4755d8c720 (diff)
downloadedk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.tar.gz
edk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.tar.bz2
edk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.zip
Remove the error checking for multi-instance device path since Dxecore has been enhanced to handle that.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9295 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe')
-rw-r--r--MdeModulePkg/Core/Dxe/Hand/Locate.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c b/MdeModulePkg/Core/Dxe/Hand/Locate.c
index 861cf12ee6..5a30c5264f 100644
--- a/MdeModulePkg/Core/Dxe/Hand/Locate.c
+++ b/MdeModulePkg/Core/Dxe/Hand/Locate.c
@@ -466,14 +466,6 @@ CoreLocateDevicePath (
SourceSize = (UINTN) TmpDevicePath - (UINTN) SourcePath;
//
- // The source path can only have 1 instance
- //
- if (IsDevicePathMultiInstance (SourcePath)) {
- DEBUG((DEBUG_ERROR, "LocateDevicePath: Device path has too many instances\n"));
- return EFI_INVALID_PARAMETER;
- }
-
- //
// Get a list of all handles that support the requested protocol
//
Status = CoreLocateHandleBuffer (ByProtocol, Protocol, NULL, &HandleCount, &Handles);