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 @@ -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 //