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>
This commit is contained in:
parent
4c948d213b
commit
54c38e4b88
|
@ -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,
|
static void reserve_dev_resources(STACK_RES *stack, RES_TYPE res_type,
|
||||||
struct stack_dev_resource *res_root, struct resource *bridge)
|
struct stack_dev_resource *res_root, struct resource *bridge)
|
||||||
{
|
{
|
||||||
uint8_t align;
|
|
||||||
uint64_t orig_base, base;
|
uint64_t orig_base, base;
|
||||||
|
|
||||||
orig_base = get_resource_base(stack, res_type);
|
orig_base = get_resource_base(stack, res_type);
|
||||||
|
|
||||||
align = 0;
|
|
||||||
base = orig_base;
|
base = orig_base;
|
||||||
int first = 1;
|
int first = 1;
|
||||||
while (res_root) { /* loop through all devices grouped by alignment requirements */
|
while (res_root) { /* loop through all devices grouped by alignment requirements */
|
||||||
|
|
Loading…
Reference in New Issue