remove duplicated code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2010-07-12 06:21:42 +00:00
parent 9f2ced4e2b
commit 78c0686bde
1 changed files with 1 additions and 6 deletions

View File

@ -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,