linux/drivers/net/wireless/rtlwifi
Joe Perches 481b9606ec rtlwifi: add CONFIG_RTLWIFI_DEBUG to remove all of the debug logging code
It does seem odd though to have a DBG_EMERG and not always
emit it.

What might also be useful for any embedded use is to add
CONFIG_RTLWIFI_DEBUG to conditionally remove all of the
debug logging code to reduce the largish object size.

This reduces the object size by about 1/3 (250KB)
when CONFIG_RTLWIFI_DEBUG is not set.

$ size drivers/net/wireless/rtlwifi/built-in.o*
   text	   data	    bss	    dec	    hex	filename
 368722	  55333	  94224	 518279	  7e887	drivers/net/wireless/rtlwifi/built-in.o.new
 586904	  55333	 127216	 769453	  bbdad	drivers/net/wireless/rtlwifi/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-01-24 14:07:41 -05:00
..
rtl8192c rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
rtl8192ce rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
rtl8192cu rtlwifi: Remove duplicate __func__ 2012-01-24 14:07:40 -05:00
rtl8192de rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
rtl8192se rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
base.c rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
base.h rtlwifi: rtl8192cu: Fix endianian issues 2011-11-21 16:20:46 -05:00
cam.c rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
cam.h rtlwifi: Change cam routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:31 -04:00
core.c rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
core.h rtlwifi: include mac80211.h from core.h 2011-06-20 15:16:32 -04:00
debug.c rtlwifi: Change debug parameter to apply to individual drivers 2011-10-11 16:41:22 -04:00
debug.h rtlwifi: add CONFIG_RTLWIFI_DEBUG to remove all of the debug logging code 2012-01-24 14:07:41 -05:00
efuse.c rtlwifi: Convert RTPRINT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
efuse.h
Kconfig rtlwifi: add CONFIG_RTLWIFI_DEBUG to remove all of the debug logging code 2012-01-24 14:07:41 -05:00
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
pci.c rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
pci.h rtlwifi: Change PCI drivers to use the new PM framework 2011-10-14 14:48:14 -04:00
ps.c rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
ps.h rtlwifi: rtl8192cu: Remove unused parameter 2011-06-20 15:47:43 -04:00
rc.c rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
rc.h rtlwifi: Convert rc routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
regd.c rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
regd.h rtlwifi: Convert regulatory domain routines for addition of rtl8192se and rtl8192de 2011-04-26 16:13:32 -04:00
usb.c rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__ 2012-01-24 14:07:40 -05:00
usb.h
wifi.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-01-03 15:16:34 -05:00