[U-Boot] [PATCH v3 15/18] net: Remove unused parameter from NetInitLoop()
Joe Hershberger
joe.hershberger at ni.com
Wed May 23 19:59:21 CEST 2012
Noone uses it.
Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
Changes for v2:
- Split from "Fix net buffer initialization"
Changes for v3:
- Rebased onto other changed patches
- Added a short commit message
net/net.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/net.c b/net/net.c
index a916a59..530b172 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:
--
1.6.0.2
More information about the U-Boot
mailing list