summaryrefslogtreecommitdiff
path: root/board/eNET/eNET.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-03-14 16:16:01 +0000
committerGraeme Russ <graeme.russ@gmail.com>2012-04-01 21:37:53 +1000
commit33d7b713227e8fa6f0332ffdaf13a666bdbc61aa (patch)
treeec68dfa288e236a41f1e98aec8c8ebf284baf21a /board/eNET/eNET.c
parentc008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5 (diff)
downloadu-boot-imx-33d7b713227e8fa6f0332ffdaf13a666bdbc61aa.zip
u-boot-imx-33d7b713227e8fa6f0332ffdaf13a666bdbc61aa.tar.gz
u-boot-imx-33d7b713227e8fa6f0332ffdaf13a666bdbc61aa.tar.bz2
x86: Remove dead code in eNET
This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-By: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/eNET/eNET.c')
-rw-r--r--board/eNET/eNET.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index 429fe1b..2f26470 100644
--- a/board/eNET/eNET.c
+++ b/board/eNET/eNET.c
@@ -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);