summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2017-10-12 09:01:50 +0800
committerEric Dong <eric.dong@intel.com>2017-10-12 10:14:58 +0800
commitdfbfd6a4f5d563083a50b3b756911a1208a7b3b4 (patch)
treea3a021cbd59712ee5809236100ef58ecb46adbf1 /IntelFrameworkModulePkg
parent5e6e2dcc380dcd841f6f979fea8c302c80a87ec3 (diff)
downloadedk2-dfbfd6a4f5d563083a50b3b756911a1208a7b3b4.tar.gz
edk2-dfbfd6a4f5d563083a50b3b756911a1208a7b3b4.tar.bz2
edk2-dfbfd6a4f5d563083a50b3b756911a1208a7b3b4.zip
IntelFrameworkModulePkg/LegacyBiosDxe: Fix GCC5 build warning
Cc: Laszlo Ersek <lersek@redhat.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c
index f42c13cd89..d249479c56 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c
@@ -59,9 +59,6 @@ LegacyBiosInt86 (
{
UINT16 Segment;
UINT16 Offset;
- LEGACY_BIOS_INSTANCE *Private;
-
- Private = LEGACY_BIOS_INSTANCE_FROM_THIS (This);
Regs->X.Flags.Reserved1 = 1;
Regs->X.Flags.Reserved2 = 0;