Message ID | 1432235773-18128-1-git-send-email-joe.hershberger@ni.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Thu, May 21, 2015 at 02:16:13PM -0500, Joe Hershberger wrote: > 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 at ni.com> Applied to u-boot/master, thanks!
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"); }
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> --- board/buffalo/lsxl/lsxl.c | 2 -- 1 file changed, 2 deletions(-)