From 78c0686bde0f016f111627e76f9486c2c6776839 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 12 Jul 2010 06:21:42 +0000 Subject: remove duplicated code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c index 1ff37facc5..bdea068aeb 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c @@ -1188,11 +1188,6 @@ GraphicsConsoleConOutSetMode ( UgaDraw = Private->UgaDraw; ModeData = &(Private->ModeData[ModeNumber]); - if (ModeData->Columns <= 0 && ModeData->Rows <= 0) { - Status = EFI_UNSUPPORTED; - goto Done; - } - // // Make sure the requested mode number is supported // @@ -1951,7 +1946,7 @@ InitializeGraphicsConsole ( // // Register notify function on HII Database Protocol to add font package. - // + // EfiCreateProtocolNotifyEvent ( &gEfiHiiDatabaseProtocolGuid, TPL_CALLBACK, -- cgit v1.2.3