diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:35:01 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:35:01 +0000 |
commit | 81bf52d6d87e92f21678140322d32b726fc8f3b7 (patch) | |
tree | 134674b8871c3a09c2bdd5888feddaee25f85086 | |
parent | dc07b3d549c2baaa4aa394d7b5350e4755d8c720 (diff) | |
download | edk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.zip edk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.tar.gz edk2-81bf52d6d87e92f21678140322d32b726fc8f3b7.tar.bz2 |
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
-rw-r--r-- | MdeModulePkg/Core/Dxe/Hand/Locate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c b/MdeModulePkg/Core/Dxe/Hand/Locate.c index 861cf12..5a30c52 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);
|