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....@intel.com> CC: Tim He <tim...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <g...@suse.com> --- Vlv2TbltDevicePkg/Wpce791/LpcDriver.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c b/Vlv2TbltDevicePkg/Wpce791/LpcDriver.c index be99b4c..5b0c25c 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 -- 2.9.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel