summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-10-12 10:28:09 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-10-16 21:42:35 +0200
commit37b9c0a656ea446bad1824b70a48905e5be1a37b (patch)
treee5cc4abe3cb1eca428736f037cf27eeba7578499 /OvmfPkg
parent9ebb7ce8dda515fa387dda44e998ceb123137c26 (diff)
downloadedk2-37b9c0a656ea446bad1824b70a48905e5be1a37b.tar.gz
edk2-37b9c0a656ea446bad1824b70a48905e5be1a37b.tar.bz2
edk2-37b9c0a656ea446bad1824b70a48905e5be1a37b.zip
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>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/QemuVideoDxe/Qemu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Qemu.h b/OvmfPkg/QemuVideoDxe/Qemu.h
index 1246b74d49..f3358d8a7c 100644
--- a/OvmfPkg/QemuVideoDxe/Qemu.h
+++ b/OvmfPkg/QemuVideoDxe/Qemu.h
@@ -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;