mirror of
https://xff.cz/git/u-boot/
synced 2025-10-03 00:11:30 +02:00
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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user