util/sconfig/main.c: Remove assigned but unused variable `link`
Cppcheck 1.65 report the style style issue below. [main.c:434]: (style) Variable 'link' is assigned a value that is never used. So remove the variable `link` as it is not needed. Change-Id: Ib77b80b74a70985a76eaa3247c4a43832ef23a59 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/6488 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
2b48b65b19
commit
80fd01d2cc
|
@ -431,7 +431,6 @@ static void pass1(FILE *fil, struct device *ptr)
|
|||
if (ptr->rescnt > 0) {
|
||||
fprintf(fil, "\t.resource_list = &%s_res[0],\n", ptr->name);
|
||||
}
|
||||
int link = 0;
|
||||
if (ptr->children || ptr->multidev)
|
||||
fprintf(fil, "\t.link_list = &%s_links[0],\n", ptr->name);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue