From f128adda88350a4c394978b4409fda3565d9422e Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 23 Mar 2022 22:38:04 +0100 Subject: mb/*/BiosCallOuts.c: Fix unused variable This fixes clang builds. Change-Id: Ie09fae149a9530ad45f0cd5945e73f46484ef385 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63055 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/mainboard/amd/union_station/BiosCallOuts.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mainboard/amd/union_station') diff --git a/src/mainboard/amd/union_station/BiosCallOuts.c b/src/mainboard/amd/union_station/BiosCallOuts.c index c324fd6f02..0ae60b4c65 100644 --- a/src/mainboard/amd/union_station/BiosCallOuts.c +++ b/src/mainboard/amd/union_station/BiosCallOuts.c @@ -28,13 +28,11 @@ const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts); static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr) { AGESA_STATUS Status; - UINTN FcnData; MEM_DATA_STRUCT *MemData; UINT32 GpioMmioAddr; UINT8 Data8; UINT8 TempData8; - FcnData = Data; MemData = ConfigPtr; Status = AGESA_SUCCESS; @@ -101,14 +99,12 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr) { AGESA_STATUS Status; - UINTN FcnData; PCIe_SLOT_RESET_INFO *ResetInfo; UINT32 GpioMmioAddr; UINT8 Data8; GpioMmioAddr = (uintptr_t)acpimmio_gpio_100; - FcnData = Data; ResetInfo = ConfigPtr; Status = AGESA_UNSUPPORTED; switch (ResetInfo->ResetId) { -- cgit v1.2.3