From 14c4f4f43cc5a1cdcb2769357cee7e00fd620e93 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 3 Jul 2020 14:22:20 +0200 Subject: haswell: Drop `struct romstage_params` type It only contains a pointer to another struct. Flatten it. Change-Id: Iab427592c332646e032a768719fc380c5794086b Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43106 Tested-by: build bot (Jenkins) Reviewed-by: Tristan Corrick --- src/mainboard/supermicro/x10slm-f/romstage.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mainboard/supermicro') diff --git a/src/mainboard/supermicro/x10slm-f/romstage.c b/src/mainboard/supermicro/x10slm-f/romstage.c index 8bcabd911c..2e3f42e7f1 100644 --- a/src/mainboard/supermicro/x10slm-f/romstage.c +++ b/src/mainboard/supermicro/x10slm-f/romstage.c @@ -68,9 +68,5 @@ void mainboard_romstage_entry(void) }, }; - struct romstage_params romstage_params = { - .pei_data = &pei_data, - }; - - romstage_common(&romstage_params); + romstage_common(&pei_data); } -- cgit v1.2.3