]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: Trivial coding style issue with empty for statement
authorDetlev Zundel <dzu@denx.de>
Wed, 31 Mar 2010 15:56:08 +0000 (17:56 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 3 May 2010 21:52:47 +0000 (14:52 -0700)
Signed-off-by: Detlev Zundel <dzu@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/eth.c

index b650a20247f6f360c223bc80b7be3f75e0ad890b..aff698724d993f6af03b6ec939ef002a98926018 100644 (file)
--- 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;
        }