From e55aa0bc8f615d796794c89f5d86d309fe7fa18c Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 29 Jul 2022 10:47:02 +0200 Subject: soc/intel/meteorlake: Fix set but unused variable Clang complains about this. Change-Id: Ibe1de3057c17b4aa8ecbd87fac598e43294584e3 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/66264 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/meteorlake/systemagent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/intel/meteorlake/systemagent.c b/src/soc/intel/meteorlake/systemagent.c index 675f9fb2fa..c6c1ada050 100644 --- a/src/soc/intel/meteorlake/systemagent.c +++ b/src/soc/intel/meteorlake/systemagent.c @@ -83,6 +83,8 @@ void soc_systemagent_init(struct device *dev) return; } + /* Remove once commented line below is enabled */ + (void)soc_config; /* UPDATEME: Need to enable later */ //set_power_limits(MOBILE_SKU_PL1_TIME_SEC, soc_config); } -- cgit v1.2.3