summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2010-03-31 17:56:08 +0200
committerBen Warren <biggerbadderben@gmail.com>2010-05-03 14:52:47 -0700
commitaba4b69d01457ab2988e91c8592e5d2ffb10f569 (patch)
treea1e4fc44e6b5d862cbae820f3e885febc1d6b87e /net/eth.c
parente3f2a93362c823fc1feb5e8a40ff3c120716a05b (diff)
downloadu-boot-imx-aba4b69d01457ab2988e91c8592e5d2ffb10f569.zip
u-boot-imx-aba4b69d01457ab2988e91c8592e5d2ffb10f569.tar.gz
u-boot-imx-aba4b69d01457ab2988e91c8592e5d2ffb10f569.tar.bz2
net: Trivial coding style issue with empty for statement
Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/eth.c b/net/eth.c
index b650a20..aff6987 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2001-2004
+ * (C) Copyright 2001-2010
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
@@ -173,7 +173,8 @@ int eth_register(struct eth_device* dev)
}
#endif
} else {
- for (d=eth_devices; d->next!=eth_devices; d=d->next);
+ for (d=eth_devices; d->next!=eth_devices; d=d->next)
+ ;
d->next = dev;
}