Fixed the bug when set mode value is less than the Max mode value.
[people/mcb30/edk2.git] / edk2 / MdeModulePkg / Universal / Console / ConSplitterDxe / ConSplitterGraphics.c
index 54c4f5f..d13d540 100644 (file)
@@ -289,11 +289,6 @@ Routine Description:
     return EFI_OUT_OF_RESOURCES;\r
   }\r
 \r
-  if (!Private->HardwareNeedsStarting) {\r
-    if (Private->ConsoleOutputMode != EfiConsoleControlScreenGraphics) {\r
-      return EFI_UNSUPPORTED;\r
-    }\r
-  }\r
   //\r
   // return the worst status met\r
   //\r