]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
IntelFrameworkModulePkg: BiosVideo: remove set but unused variable
[mirror_edk2.git] / IntelFrameworkModulePkg / Csm / BiosThunk / VideoDxe / BiosVideo.c
index 9f7f72a3f2a019aed47a8d52295cef45b5acebb2..f1c8b295088843421de490dc0a3dc7db4d599b7d 100644 (file)
@@ -1257,16 +1257,15 @@ HasChildHandle (
   EFI_OPEN_PROTOCOL_INFORMATION_ENTRY  *OpenInfoBuffer;\r
   UINTN                                EntryCount;\r
   BOOLEAN                              HasChild;\r
-  EFI_STATUS                           Status;\r
 \r
   EntryCount = 0;\r
   HasChild   = FALSE;\r
-  Status = gBS->OpenProtocolInformation (\r
-                  Controller,\r
-                  &gEfiPciIoProtocolGuid,\r
-                  &OpenInfoBuffer,\r
-                  &EntryCount\r
-                  );\r
+  gBS->OpenProtocolInformation (\r
+         Controller,\r
+         &gEfiPciIoProtocolGuid,\r
+         &OpenInfoBuffer,\r
+         &EntryCount\r
+         );\r
   for (Index = 0; Index < EntryCount; Index++) {\r
     if ((OpenInfoBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER) != 0) {\r
       HasChild = TRUE;\r