[U-Boot] [RFC PATCH 12/19] x86: Remove dead code in eNET
Simon Glass
sjg at chromium.org
Wed Dec 28 07:35:53 CET 2011
This avoids a compiler warning about unused variables.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/eNET/eNET.c | 5 -----
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);
--
1.7.3.1
More information about the U-Boot
mailing list