public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: Trivial coding style issue with empty for statement
@ 2010-03-31 15:56 Detlev Zundel
  2010-04-05  7:16 ` Ben Warren
  0 siblings, 1 reply; 2+ messages in thread
From: Detlev Zundel @ 2010-03-31 15:56 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Detlev Zundel <dzu@denx.de>
CC: Ben Warren <biggerbadderben@gmail.com>
---
 net/eth.c |    5 +++--
 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 at 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;
 	}
 
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-05  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 15:56 [U-Boot] [PATCH] net: Trivial coding style issue with empty for statement Detlev Zundel
2010-04-05  7:16 ` Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox