summaryrefslogtreecommitdiff
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-10 10:38:36 +0800
commit7c7de9363ea1f72c78598cba8d04b79f537fad08 (patch)
tree7bcc79808ca39bc305a2aaeccea0b09f364c62eb
parent460ae753b3a882f31e25b4bc4dc0571672e08e8c (diff)
downloadedk2-platforms-7c7de9363ea1f72c78598cba8d04b79f537fad08.tar.xz
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>
-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