From: Detlev Zundel Date: Wed, 31 Mar 2010 15:56:08 +0000 (+0200) Subject: net: Trivial coding style issue with empty for statement X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=aba4b69d01457ab2988e91c8592e5d2ffb10f569;p=u-boot.git net: Trivial coding style issue with empty for statement Signed-off-by: Detlev Zundel Signed-off-by: Ben Warren --- diff --git a/net/eth.c b/net/eth.c index b650a20247..aff698724d 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; }