Skip to content

Commit

Permalink
net: Fix a warning added by 76ec988
Browse files Browse the repository at this point in the history
arm:  +   lsxhl
w+board/buffalo/lsxl/lsxl.c: In function 'rescue_mode':
w+board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]
       arm:  +   lschlv2
w+board/buffalo/lsxl/lsxl.c: In function 'rescue_mode':
w+board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]

Remove the unused variable.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
  • Loading branch information
jhershbe authored and trini committed May 28, 2015
1 parent 14f66d6 commit 062f94f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions board/buffalo/lsxl/lsxl.c
Expand Up @@ -227,8 +227,6 @@ static void erase_environment(void)

static void rescue_mode(void)
{
uchar enetaddr[6];

printf("Entering rescue mode..\n");
setenv("bootsource", "rescue");
}
Expand Down

0 comments on commit 062f94f

Please sign in to comment.