net: Remove unused parameter from NetInitLoop()

Noone uses it.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger 2012-05-23 07:59:21 +00:00
parent f1d2d28469
commit cb1c991120

View File

@ -231,7 +231,7 @@ void net_auto_load(void)
TftpStart(TFTPGET); TftpStart(TFTPGET);
} }
static void NetInitLoop(enum proto_t protocol) static void NetInitLoop(void)
{ {
static int env_changed_id; static int env_changed_id;
int env_id = get_env_id(); int env_id = get_env_id();
@ -311,7 +311,7 @@ restart:
* here on, this code is a state machine driven by received * here on, this code is a state machine driven by received
* packets and timer events. * packets and timer events.
*/ */
NetInitLoop(protocol); NetInitLoop();
switch (net_check_prereq(protocol)) { switch (net_check_prereq(protocol)) {
case 1: case 1: