
Signed-off-by: Joe Hershberger joe.hershberger@ni.com Cc: Joe Hershberger joe.hershberger@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Mike Frysinger vapier@gentoo.org --- Changes for v2: - Split from "Fix net buffer initialization"
net/net.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/net.c b/net/net.c index 0a35858..2cfb115 100644 --- 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; bd_t *bd = gd->bd; @@ -313,7 +313,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: