From: Simon Glass Date: Wed, 14 Mar 2012 16:16:01 +0000 (+0000) Subject: x86: Remove dead code in eNET X-Git-Tag: v2012.04-rc2~11^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33d7b713227e8fa6f0332ffdaf13a666bdbc61aa;p=u-boot x86: Remove dead code in eNET This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass Acked-By: Graeme Russ --- diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 429fe1b4ff..2f26470cb1 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);