summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/cimx/sb800/SBMAIN.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-23 21:46:17 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-25 20:13:00 +0000
commit2fe012633a3bc35239947e19609447c36f4cd266 (patch)
tree946b796068be7361118ec814f1ab57c1076c9558 /src/vendorcode/amd/cimx/sb800/SBMAIN.c
parent3ba6f8cdf8d95607c8efd8f6d18a9fffc9983e1e (diff)
amd/cimx/sb800: Fix building with clang
These are all set but unused variable problems. Change-Id: I40aaa1d1cdd90731a23142f1f7a0f67a45915f25 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63046 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/vendorcode/amd/cimx/sb800/SBMAIN.c')
-rw-r--r--src/vendorcode/amd/cimx/sb800/SBMAIN.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vendorcode/amd/cimx/sb800/SBMAIN.c b/src/vendorcode/amd/cimx/sb800/SBMAIN.c
index 0e10a2a57c..04716bc535 100644
--- a/src/vendorcode/amd/cimx/sb800/SBMAIN.c
+++ b/src/vendorcode/amd/cimx/sb800/SBMAIN.c
@@ -218,8 +218,6 @@ sbSmmAcpiOn (
{
// Commented the following code since we need to leave the IRQ1/12 filtering enabled always as per latest
// recommendation in RPR. This is required to fix the keyboard stuck issue when playing games under Windows
- AMDSBCFG* pTmp; //lx-dummy for /W4 build
- pTmp = pConfig;
// Disable Power Button SMI
RWMEM (ACPI_MMIO_BASE + SMI_BASE + SB_SMI_REGB2, AccWidthUint8, ~(BIT4 + BIT5), 0);
@@ -250,5 +248,3 @@ CallBackToOEM (
return Result;
}
-
-