From 4e518f755552ee805e247b34e33fdd5edbd2857b Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 29 Jul 2016 11:25:35 +0800 Subject: 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin --- Vlv2TbltDevicePkg/Wpce791/LpcDriver.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Vlv2TbltDevicePkg') 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 -- cgit v1.2.3