summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-05-08 23:13:47 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-05-12 16:37:33 +0000
commit851236704e675eca3d895245e4663b96584ad10e (patch)
treeb8eafeb9dc33d47948261e5eb9cee1ef77a4f235
parented59e972f03bdfc618c5beffed9ceda2c8dc2f84 (diff)
downloadcoreboot-851236704e675eca3d895245e4663b96584ad10e.tar.gz
coreboot-851236704e675eca3d895245e4663b96584ad10e.tar.bz2
coreboot-851236704e675eca3d895245e4663b96584ad10e.zip
soc/intel/apl: Remove set but unused variable
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I62b7390c2de244cce169550e9b1fa41af738525d Reviewed-on: https://review.coreboot.org/c/coreboot/+/75037 Reviewed-by: Jan Samek <jan.samek@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r--src/soc/intel/apollolake/cse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/cse.c b/src/soc/intel/apollolake/cse.c
index 46bc8fb29485..e82b468436a5 100644
--- a/src/soc/intel/apollolake/cse.c
+++ b/src/soc/intel/apollolake/cse.c
@@ -158,7 +158,6 @@ static uint32_t dump_status(int index, int reg_addr)
static void dump_cse_state(void)
{
union cse_fwsts1 fwsts1;
- union cse_fwsts2 fwsts2;
union cse_fwsts3 fwsts3;
union cse_fwsts4 fwsts4;
union cse_fwsts5 fwsts5;
@@ -168,7 +167,7 @@ static void dump_cse_state(void)
return;
fwsts1.data = dump_status(1, PCI_ME_HFSTS1);
- fwsts2.data = dump_status(2, PCI_ME_HFSTS2);
+ dump_status(2, PCI_ME_HFSTS2);
fwsts3.data = dump_status(3, PCI_ME_HFSTS3);
fwsts4.data = dump_status(4, PCI_ME_HFSTS4);
fwsts5.data = dump_status(5, PCI_ME_HFSTS5);