mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-02 20:30:46 +00:00
net: Fix a warning added by 76ec988
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>
This commit is contained in:
parent
14f66d65a3
commit
062f94f05b
1 changed files with 0 additions and 2 deletions
|
@ -227,8 +227,6 @@ static void erase_environment(void)
|
||||||
|
|
||||||
static void rescue_mode(void)
|
static void rescue_mode(void)
|
||||||
{
|
{
|
||||||
uchar enetaddr[6];
|
|
||||||
|
|
||||||
printf("Entering rescue mode..\n");
|
printf("Entering rescue mode..\n");
|
||||||
setenv("bootsource", "rescue");
|
setenv("bootsource", "rescue");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue