]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to...
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / GenericBdsLib / BdsBoot.c
index f80f36ffc8841dcce4d82adb76774d3c86a19b19..08ddc90ef63aa781abd8d916cc0a641472255559 100644 (file)
@@ -1114,18 +1114,6 @@ BdsLibEnumerateAllBootOption (
         &FvHandleBuffer\r
         );\r
   for (Index = 0; Index < FvHandleCount; Index++) {\r
-    //\r
-    // Only care the dispatched FV. If no dispatch protocol on the FV, it is not dispatched, then skip it.\r
-    //\r
-    Status = gBS->HandleProtocol (\r
-                    FvHandleBuffer[Index],\r
-                    &gEfiFirmwareVolumeDispatchProtocolGuid,\r
-                    (VOID **) &Fv\r
-                    );\r
-    if (EFI_ERROR (Status)) {\r
-      continue;\r
-    }\r
-    \r
     gBS->HandleProtocol (\r
           FvHandleBuffer[Index],\r
           &gEfiFirmwareVolume2ProtocolGuid,\r