[U-Boot] [PATCH] netloop: updates for NetLoop

Mike Frysinger vapier at gentoo.org
Wed Feb 25 18:01:44 CET 2009


On Wednesday 25 February 2009 07:40:45 Heiko Schocher wrote:
> +/*
> + * This variable is incremented on each do_setenv (), so it can
> + * be used as an indication, if the environment has changed or not.
> + * So it is possible to reread an environment variable only if the
> + * environment was changed ... done so for example in NetInitLoop()
> + */

i would tweak it to say "... it can be used via get_env_id() as an ..."

> -	return 0;
> +	return;
>  }

a return at the end of a function is pointless imo.  just delete it.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090225/0c8747d6/attachment.pgp 


More information about the U-Boot mailing list