]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkModulePkg: BiosVideo: remove set but unused variable
authorLaszlo Ersek <lersek@redhat.com>
Fri, 18 Mar 2016 18:50:08 +0000 (19:50 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 25 Mar 2016 09:52:16 +0000 (10:52 +0100)
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
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