diff options
author | Gary Lin <glin@suse.com> | 2016-07-29 11:25:34 +0800 |
---|---|---|
committer | david wei <david.wei@intel.com> | 2016-08-10 10:38:35 +0800 |
commit | 460ae753b3a882f31e25b4bc4dc0571672e08e8c (patch) | |
tree | aea1208dc4c53457b29ee4346f6b9abbd379c2bf /Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c | |
parent | 02f39234a32ea4e5442d24607846f82d388c1ed7 (diff) | |
download | edk2-platforms-460ae753b3a882f31e25b4bc4dc0571672e08e8c.tar.xz |
Vlv2TbltDevicePkg/PlatformDxe: Remove the unused variables
Fix the following errors from gcc:
Vlv2TbltDevicePkg/PlatformDxe/Platform.c: In function ?InitPciDevPME?:
Vlv2TbltDevicePkg/PlatformDxe/Platform.c:516:26: error: variable ?Status? set but not used [-Werror=unused-but-set-variable]
Vlv2TbltDevicePkg/PlatformDxe/Platform.c: In function ?InitThermalZone?:
Vlv2TbltDevicePkg/PlatformDxe/Platform.c:575:26: error: variable ?Status? set but not used [-Werror=unused-but-set-variable]
Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c: In function ?InitializeSubsystemIds?:
Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c:111:10: error: variable ?SubsystemAudioVidDid? set but not used [-Werror=unused-but-set-variable]
Vlv2TbltDevicePkg/PlatformDxe/PciDevice.c: In function ?InitBadBars?:
Vlv2TbltDevicePkg/PlatformDxe/PciDevice.c:115:40: error: variable ?PciIoDevice? set but not used [-Werror=unused-but-set-variable]
Vlv2TbltDevicePkg/PlatformDxe/PciDevice.c:114:39: error: variable ?Status? set but not used [-Werror=unused-but-set-variable]
Vlv2TbltDevicePkg/PlatformDxe/PciDevice.c: In function ?ProgramPciLatency?:
Vlv2TbltDevicePkg/PlatformDxe/PciDevice.c:320:39: error: variable ?Status? 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>
Reviewed-by: David Wei <david.wei@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c')
-rw-r--r-- | Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c b/Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c index 06d325c39e..4569ce58d9 100644 --- a/Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c +++ b/Vlv2TbltDevicePkg/PlatformDxe/IchRegTable.c @@ -99,10 +99,8 @@ InitializeSubsystemIds ( EFI_REG_TABLE *RegTablePtr;
UINT32 SubsystemVidDid;
- UINT32 SubsystemAudioVidDid;
SubsystemVidDid = mPlatformInfo.SsidSvid;
- SubsystemAudioVidDid = mPlatformInfo.SsidSvid;
RegTablePtr = mSubsystemIdRegs;
|