firmware-utils: fix erroneous variable redeclaration
Fixes: 638e2193fe
("tplink-safeloader: add support to split & extract firmwares")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
068ba612db
commit
677d8df9b8
1 changed files with 0 additions and 1 deletions
|
@ -1417,7 +1417,6 @@ static int add_flash_partition(
|
||||||
unsigned long base,
|
unsigned long base,
|
||||||
unsigned long size)
|
unsigned long size)
|
||||||
{
|
{
|
||||||
int ptr = 0;
|
|
||||||
/* check if the list has a free entry */
|
/* check if the list has a free entry */
|
||||||
for (int ptr=0; ptr<max_entries; ptr++, part_list++) {
|
for (int ptr=0; ptr<max_entries; ptr++, part_list++) {
|
||||||
if (part_list->name == NULL &&
|
if (part_list->name == NULL &&
|
||||||
|
|
Loading…
Reference in a new issue