From: Joe Hershberger Date: Wed, 23 May 2012 07:59:21 +0000 (+0000) Subject: net: Remove unused parameter from NetInitLoop() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e;p=u-boot.git net: Remove unused parameter from NetInitLoop() Noone uses it. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- 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: