]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Remove dead code in eNET
authorSimon Glass <sjg@chromium.org>
Wed, 14 Mar 2012 16:16:01 +0000 (16:16 +0000)
committerGraeme Russ <graeme.russ@gmail.com>
Sun, 1 Apr 2012 11:37:53 +0000 (21:37 +1000)
This avoids a compiler warning about unused variables.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-By: Graeme Russ <graeme.russ@gmail.com>
board/eNET/eNET.c

index 429fe1b4ff3f6c8886a4f257f88d9e30903c389c..2f26470cb1dbfac08accd30183fb5eaa2d9763bd 100644 (file)
@@ -178,11 +178,6 @@ void show_boot_progress(int val)
 
 int last_stage_init(void)
 {
-       int minor;
-       int major;
-
-       major = minor = 0;
-
        outb(0x00, LED_LATCH_ADDRESS);
 
        register_timer_isr(enet_timer_isr);