]> git.sur5r.net Git - u-boot/commit
minor debug cleanups in ./net
authorRobin Getz <rgetz@blackfin.uclinux.org>
Thu, 23 Jul 2009 07:01:03 +0000 (03:01 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Sat, 8 Aug 2009 00:32:16 +0000 (17:32 -0700)
commit0ebf04c607b54a352629dcf7e76b76f1785dae54
tree0beff99c94a3db8d1e9cc5f3b786ae7474085f4c
parent187af954cf7958c24efcf0fd62289bbdb4f1f24e
minor debug cleanups in ./net

 Minor ./net cleanups - no functional changes
  - change #ifdef DEBUG printf(); #endif to just debug()
  - changed __FUNCTION__ to __func__
  - got rid of extra whitespace between function and opening brace
  - removed unnecessary braces on if statements

 gcc dead code elimination should make this functionally/size equivalent
 when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3).

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/Makefile
net/bootp.c
net/eth.c
net/net.c
net/nfs.c
net/rarp.c
net/sntp.c
net/tftp.c