From 2fe012633a3bc35239947e19609447c36f4cd266 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 23 Mar 2022 21:46:17 +0100 Subject: amd/cimx/sb800: Fix building with clang These are all set but unused variable problems. Change-Id: I40aaa1d1cdd90731a23142f1f7a0f67a45915f25 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63046 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/vendorcode/amd/cimx/sb800/SBMAIN.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/vendorcode/amd/cimx/sb800/SBMAIN.c') 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; } - - -- cgit v1.2.3