提交 cb1c9911 编写于 作者: J Joe Hershberger

net: Remove unused parameter from NetInitLoop()

Noone uses it.
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
Acked-by: NSimon Glass <sjg@chromium.org>
上级 f1d2d284
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册