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:
@ -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,
|
||||
|
Reference in New Issue
Block a user