]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: Remove unused parameter from NetInitLoop()
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:21 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:06 +0000 (17:53 -0500)
Noone uses it.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/net.c

index 651f3f73ef2df8ade28dfebafb28ee422c4fb5df..4c6dfd1ca1c551323df895d5a900f2c28b1d86c3 100644 (file)
--- 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: