From 54c38e4b88cefa6d850ebea98bba606983a9efc2 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 10 May 2022 18:59:06 +0200 Subject: soc/intel/xeon_sp: Remove set but unused variable Change-Id: I3c8c1787c77ed08942c6550ca556875904be2fa2 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64242 Reviewed-by: Jonathan Zhang Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/xeon_sp/chip_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/soc/intel/xeon_sp/chip_common.c b/src/soc/intel/xeon_sp/chip_common.c index 47d8f5cc806d..1c1715fb5c46 100644 --- a/src/soc/intel/xeon_sp/chip_common.c +++ b/src/soc/intel/xeon_sp/chip_common.c @@ -228,12 +228,10 @@ static void add_res_to_stack(struct stack_dev_resource **root, static void reserve_dev_resources(STACK_RES *stack, RES_TYPE res_type, struct stack_dev_resource *res_root, struct resource *bridge) { - uint8_t align; uint64_t orig_base, base; orig_base = get_resource_base(stack, res_type); - align = 0; base = orig_base; int first = 1; while (res_root) { /* loop through all devices grouped by alignment requirements */ -- cgit v1.2.3