diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 19:41:34 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:15 +0100 |
commit | 92658c8af1245bef09be5e1d1d13b55a4567db3b (patch) | |
tree | 437bd69a836744ba0101e9edc28c38e91b222187 /EmulatorPkg | |
parent | beca921d98f70f39ee9e13e429eb9e67c0d377d7 (diff) | |
download | edk2-platforms-92658c8af1245bef09be5e1d1d13b55a4567db3b.tar.xz |
EmulatorPkg: CpuRuntimeDxe: remove set but unused variables
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.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>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/CpuRuntimeDxe/Cpu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/EmulatorPkg/CpuRuntimeDxe/Cpu.c b/EmulatorPkg/CpuRuntimeDxe/Cpu.c index fb8520afc1..47fb7f07e8 100644 --- a/EmulatorPkg/CpuRuntimeDxe/Cpu.c +++ b/EmulatorPkg/CpuRuntimeDxe/Cpu.c @@ -327,9 +327,6 @@ EmuInit ( IN EFI_CPU_INIT_TYPE InitType
)
{
- CPU_ARCH_PROTOCOL_PRIVATE *Private;
-
- Private = CPU_ARCH_PROTOCOL_PRIVATE_DATA_FROM_THIS (This);
return EFI_UNSUPPORTED;
}
@@ -341,8 +338,6 @@ EmuRegisterInterruptHandler ( IN EFI_CPU_INTERRUPT_HANDLER InterruptHandler
)
{
- CPU_ARCH_PROTOCOL_PRIVATE *Private;
-
//
// Do parameter checking for EFI spec conformance
//
@@ -352,7 +347,6 @@ EmuRegisterInterruptHandler ( //
// Do nothing for Emu emulation
//
- Private = CPU_ARCH_PROTOCOL_PRIVATE_DATA_FROM_THIS (This);
return EFI_UNSUPPORTED;
}
@@ -392,8 +386,6 @@ EmuSetMemoryAttributes ( IN UINT64 Attributes
)
{
- CPU_ARCH_PROTOCOL_PRIVATE *Private;
-
//
// Check for invalid parameter for Spec conformance
//
@@ -404,7 +396,6 @@ EmuSetMemoryAttributes ( //
// Do nothing for Nt32 emulation
//
- Private = CPU_ARCH_PROTOCOL_PRIVATE_DATA_FROM_THIS (This);
return EFI_UNSUPPORTED;
}
|