summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-10 18:59:06 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:02:55 +0000
commit54c38e4b88cefa6d850ebea98bba606983a9efc2 (patch)
tree6acb46093534b8e177f4d232c6907b903cbb8da2
parent4c948d213b8d99600f113de27bca565e2ed44b81 (diff)
downloadcoreboot-54c38e4b88cefa6d850ebea98bba606983a9efc2.tar.gz
coreboot-54c38e4b88cefa6d850ebea98bba606983a9efc2.tar.bz2
coreboot-54c38e4b88cefa6d850ebea98bba606983a9efc2.zip
soc/intel/xeon_sp: Remove set but unused variable
Change-Id: I3c8c1787c77ed08942c6550ca556875904be2fa2 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64242 Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/xeon_sp/chip_common.c2
1 files changed, 0 insertions, 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 */