From 062f94f05bb7dcce9a1f40aef4021c53f7faf033 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Thu, 21 May 2015 14:16:13 -0500 Subject: [PATCH] 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 --- board/buffalo/lsxl/lsxl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 45dd788805..0f3734587a 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"); } -- 2.25.1