diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-05-21 14:16:13 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-28 08:18:25 -0400 |
commit | 062f94f05bb7dcce9a1f40aef4021c53f7faf033 (patch) | |
tree | f02ab61d1bb48d5040b7ae1616e96eae20666d7d | |
parent | 14f66d65a33f622b8138ab0fcd1e18060a2355c2 (diff) | |
download | u-boot-imx-062f94f05bb7dcce9a1f40aef4021c53f7faf033.zip u-boot-imx-062f94f05bb7dcce9a1f40aef4021c53f7faf033.tar.gz u-boot-imx-062f94f05bb7dcce9a1f40aef4021c53f7faf033.tar.bz2 |
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>
-rw-r--r-- | board/buffalo/lsxl/lsxl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 45dd788..0f37345 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -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"); } |