From: Joe Hershberger Date: Wed, 23 May 2012 07:59:21 +0000 (+0000) Subject: net: Remove unused parameter from NetInitLoop() X-Git-Tag: v2012.07-rc1~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e;p=u-boot 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: