summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-12 06:21:42 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-12 06:21:42 +0000
commit78c0686bde0f016f111627e76f9486c2c6776839 (patch)
tree16fa3800f6b1f90ddb38fc22dd98299c932cdec4 /MdeModulePkg
parent9f2ced4e2b7da06a3b33b3f79807ab2cc1126d00 (diff)
downloadedk2-platforms-78c0686bde0f016f111627e76f9486c2c6776839.tar.xz
remove duplicated code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c7
1 files changed, 1 insertions, 6 deletions
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,