diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-03-23 21:46:17 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-25 20:13:00 +0000 |
commit | 2fe012633a3bc35239947e19609447c36f4cd266 (patch) | |
tree | 946b796068be7361118ec814f1ab57c1076c9558 /src/vendorcode/amd/cimx/sb800/GEC.c | |
parent | 3ba6f8cdf8d95607c8efd8f6d18a9fffc9983e1e (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/GEC.c')
-rw-r--r-- | src/vendorcode/amd/cimx/sb800/GEC.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vendorcode/amd/cimx/sb800/GEC.c b/src/vendorcode/amd/cimx/sb800/GEC.c index d1715bceb6..ec2dd6e7c4 100644 --- a/src/vendorcode/amd/cimx/sb800/GEC.c +++ b/src/vendorcode/amd/cimx/sb800/GEC.c @@ -137,9 +137,7 @@ gecInitLatePost ( IN AMDSBCFG* pConfig ) { - if ( !pConfig->GecConfig == 0) { - return; //return if GEC controller is disabled. - } + /* if ( !pConfig->GecConfig == 0) { */ + /* return; //return if GEC controller is disabled. */ + /* } */ } - - |