From cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Wed, 23 May 2012 07:59:21 +0000 Subject: [PATCH] net: Remove unused parameter from NetInitLoop() Noone uses it. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- net/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/net.c b/net/net.c index 651f3f73ef..4c6dfd1ca1 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; 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: -- 2.30.2