summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:59:21 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:53:06 -0500
commitcb1c991120983b2b2690564eb6e9d3bfd1c6ae7e (patch)
treed6b1119c48c36280d8ee3f5167f8792a7826f514 /net/net.c
parentf1d2d2846988b21a4df6697fdac08999034d3027 (diff)
downloadu-boot-imx-cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e.zip
u-boot-imx-cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e.tar.gz
u-boot-imx-cb1c991120983b2b2690564eb6e9d3bfd1c6ae7e.tar.bz2
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>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index 651f3f7..4c6dfd1 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: