mirror of https://github.com/acidanthera/audk.git
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:
parent
9f2ced4e2b
commit
78c0686bde
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue