diff options
author | Gary Lin <glin@suse.com> | 2016-07-29 11:25:35 +0800 |
---|---|---|
committer | david wei <david.wei@intel.com> | 2016-08-03 11:08:31 +0800 |
commit | 4e518f755552ee805e247b34e33fdd5edbd2857b (patch) | |
tree | e9f329edab425f8f2a74640f6379ff7190fb521f | |
parent | 076d0d64aaec3fcb06e95f83f0041e4529927985 (diff) | |
download | edk2-4e518f755552ee805e247b34e33fdd5edbd2857b.zip edk2-4e518f755552ee805e247b34e33fdd5edbd2857b.tar.gz edk2-4e518f755552ee805e247b34e33fdd5edbd2857b.tar.bz2 |
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.c | 4 |
1 files changed, 0 insertions, 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
|