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:
f1d2d28
)
net: Remove unused parameter from NetInitLoop()
author
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:21 +0000
(07:59 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:06 +0000
(17:53 -0500)
Noone uses it.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/net.c
patch
|
blob
|
history
diff --git
a/net/net.c
b/net/net.c
index 651f3f73ef2df8ade28dfebafb28ee422c4fb5df..4c6dfd1ca1c551323df895d5a900f2c28b1d86c3 100644
(file)
--- a/
net/net.c
+++ b/
net/net.c
@@
-231,7
+231,7
@@
void net_auto_load(void)
TftpStart(TFTPGET);
}
-static void NetInitLoop(
enum proto_t protocol
)
+static void NetInitLoop(
void
)
{
static int env_changed_id;
int env_id = get_env_id();
@@
-311,7
+311,7
@@
restart:
* here on, this code is a state machine driven by received
* packets and timer events.
*/
- NetInitLoop(
protocol
);
+ NetInitLoop();
switch (net_check_prereq(protocol)) {
case 1: