From 851236704e675eca3d895245e4663b96584ad10e Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 8 May 2023 23:13:47 +0200 Subject: soc/intel/apl: Remove set but unused variable Signed-off-by: Arthur Heymans Change-Id: I62b7390c2de244cce169550e9b1fa41af738525d Reviewed-on: https://review.coreboot.org/c/coreboot/+/75037 Reviewed-by: Jan Samek Tested-by: build bot (Jenkins) Reviewed-by: Sridhar Siricilla Reviewed-by: Angel Pons Reviewed-by: Elyes Haouas --- src/soc/intel/apollolake/cse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/soc/intel/apollolake/cse.c b/src/soc/intel/apollolake/cse.c index 46bc8fb294..e82b468436 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); -- cgit v1.2.3