projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c008b6f
)
x86: Remove dead code in eNET
author
Simon Glass
<sjg@chromium.org>
Wed, 14 Mar 2012 16:16:01 +0000
(16:16 +0000)
committer
Graeme 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
patch
|
blob
|
history
diff --git
a/board/eNET/eNET.c
b/board/eNET/eNET.c
index 429fe1b4ff3f6c8886a4f257f88d9e30903c389c..2f26470cb1dbfac08accd30183fb5eaa2d9763bd 100644
(file)
--- 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);