summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg/Wpce791
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-07-29 11:25:35 +0800
committerdavid wei <david.wei@intel.com>2016-08-03 11:08:31 +0800
commit4e518f755552ee805e247b34e33fdd5edbd2857b (patch)
treee9f329edab425f8f2a74640f6379ff7190fb521f /Vlv2TbltDevicePkg/Wpce791
parent076d0d64aaec3fcb06e95f83f0041e4529927985 (diff)
downloadedk2-4e518f755552ee805e247b34e33fdd5edbd2857b.tar.gz
edk2-4e518f755552ee805e247b34e33fdd5edbd2857b.tar.bz2
edk2-4e518f755552ee805e247b34e33fdd5edbd2857b.zip
Vlv2TbltDevicePkg/Wpce791: Remove the unused variable
Fix the following error from gcc: Vlv2TbltDevicePkg/Wpce791/LpcDriver.c: In function ?LpcDriverStart?: Vlv2TbltDevicePkg/Wpce791/LpcDriver.c:239:27: error: variable ?LpcDev? set but not used [-Werror=unused-but-set-variable] Cc: David Wei <david.wei@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/Wpce791')
-rw-r--r--Vlv2TbltDevicePkg/Wpce791/LpcDriver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c b/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c
index be99b4c6d3..5b0c25c437 100644
--- a/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c
+++ b/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c
@@ -227,10 +227,6 @@ LpcDriverStart (
{
EFI_STATUS Status;
EFI_PCI_IO_PROTOCOL *PciIo;
- LPC_DEV *LpcDev;
-
-
- LpcDev = NULL;
//
// Get Pci IO