diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-07-23 03:01:03 -0400 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-08-07 17:32:16 -0700 |
commit | 0ebf04c607b54a352629dcf7e76b76f1785dae54 (patch) | |
tree | 0beff99c94a3db8d1e9cc5f3b786ae7474085f4c /net/Makefile | |
parent | 187af954cf7958c24efcf0fd62289bbdb4f1f24e (diff) | |
download | u-boot-imx-0ebf04c607b54a352629dcf7e76b76f1785dae54.zip u-boot-imx-0ebf04c607b54a352629dcf7e76b76f1785dae54.tar.gz u-boot-imx-0ebf04c607b54a352629dcf7e76b76f1785dae54.tar.bz2 |
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>
Diffstat (limited to 'net/Makefile')
-rw-r--r-- | net/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index 835a04a..ff87d87 100644 --- a/net/Makefile +++ b/net/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -# CFLAGS += -DET_DEBUG -DDEBUG +# CFLAGS += -DDEBUG LIB = $(obj)libnet.a |