OvmfPkg/QemuVideoDxe: remove useless QEMU_VIDEO_PRIVATE_DATA.CurrentMode

This field is never used.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Laszlo Ersek 2016-10-12 10:28:09 +02:00
parent 9ebb7ce8dd
commit 37b9c0a656
1 changed files with 2 additions and 4 deletions

View File

@ -110,11 +110,9 @@ typedef struct {
EFI_DEVICE_PATH_PROTOCOL *GopDevicePath;
//
// The next three fields match the client-visible
// EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE.Mode and
// EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE.MaxMode fields.
// The next two fields match the client-visible
// EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE.MaxMode field.
//
UINTN CurrentMode;
UINTN MaxMode;
QEMU_VIDEO_MODE_DATA *ModeData;