[U-Boot] [PATCH v4 04/27] x86: Remove dead code in eNET

Simon Glass sjg at chromium.org
Thu Mar 15 03:16:01 CET 2012


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.7.3



More information about the U-Boot mailing list