]> git.sur5r.net Git - u-boot/blobdiff - board/hymod/input.c
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[u-boot] / board / hymod / input.c
index 998132d659491031e8a1442113d4fb0cf05080bd..0a58015bcd36bc28cf8075aa0e2bc3749e56fb0d 100644 (file)
@@ -23,9 +23,6 @@
 
 #include <common.h>
 
-/* imports from common/main.c */
-extern char console_buffer[CONFIG_SYS_CBSIZE];
-
 int
 hymod_get_serno (const char *prompt)
 {
@@ -76,7 +73,6 @@ hymod_get_ethaddr (void)
                if (n == 17) {
                        int i;
                        char *p, *q;
-                       uchar ea[6];
 
                        /* see if it looks like an ethernet address */
 
@@ -85,7 +81,7 @@ hymod_get_ethaddr (void)
                        for (i = 0; i < 6; i++) {
                                char term = (i == 5 ? '\0' : ':');
 
-                               ea[i] = simple_strtol (p, &q, 16);
+                               (void)simple_strtol (p, &q, 16);
 
                                if ((q - p) != 2 || *q++ != term)
                                        break;