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>
This commit is contained in:
Gary Lin 2016-07-29 11:25:35 +08:00 committed by david wei
parent 076d0d64aa
commit 4e518f7555
1 changed files with 0 additions and 4 deletions

View File

@ -227,10 +227,6 @@ LpcDriverStart (
{ {
EFI_STATUS Status; EFI_STATUS Status;
EFI_PCI_IO_PROTOCOL *PciIo; EFI_PCI_IO_PROTOCOL *PciIo;
LPC_DEV *LpcDev;
LpcDev = NULL;
// //
// Get Pci IO // Get Pci IO