Skip to content
Snippets Groups Projects
Commit 062f94f0 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini
Browse files

net: Fix a warning added by 76ec988b


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: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 14f66d65
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment