mirror of https://github.com/acidanthera/audk.git
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:
parent
dc07b3d549
commit
81bf52d6d8
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue