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
This commit is contained in:
qhuang8 2009-09-21 14:35:01 +00:00
parent dc07b3d549
commit 81bf52d6d8
1 changed files with 0 additions and 8 deletions

View File

@ -465,14 +465,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
//