[U-Boot] [PATCH] net: Trivial coding style issue with empty for statement

Ben Warren biggerbadderben at gmail.com
Mon Apr 5 09:16:44 CEST 2010


Hi Detlev,

On 3/31/2010 8:56 AM, Detlev Zundel wrote:
> Signed-off-by: Detlev Zundel<dzu at denx.de>
> CC: Ben Warren<biggerbadderben at 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;
>   	}
>
>    
Applied to net repo.

thanks,
Ben


More information about the U-Boot mailing list