mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
layout.c: Remove unused variable
Change-Id: I0c0c085999a12987376d75825fcf43e788a55a4b Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/31243 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
ae24b8bfd3
commit
1cf369fb59
2
layout.c
2
layout.c
@ -161,7 +161,6 @@ static int find_romentry(struct flashrom_layout *const l, char *name)
|
||||
int process_include_args(struct flashrom_layout *const l)
|
||||
{
|
||||
int i;
|
||||
unsigned int found = 0;
|
||||
|
||||
if (num_include_args == 0)
|
||||
return 0;
|
||||
@ -180,7 +179,6 @@ int process_include_args(struct flashrom_layout *const l)
|
||||
include_args[i]);
|
||||
return 1;
|
||||
}
|
||||
found++;
|
||||
}
|
||||
|
||||
msg_ginfo("Using region%s: \"%s\"", num_include_args > 1 ? "s" : "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user