net: Fix a warning added by 76ec988
authorJoe Hershberger <joe.hershberger@ni.com>
Thu, 21 May 2015 19:16:13 +0000 (14:16 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 28 May 2015 12:18:25 +0000 (08:18 -0400)
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

index 45dd7888051b640cdac49a292d769919208f8b19..0f3734587a5d83cac741592437f7b81f858b6ebf 100644 (file)
@@ -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");
 }