mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
rtlwifi: Optimize RT_TRACE macro use of KBUILD_MODNAME for size
Moving the KBUILD_MODNAME to the format reduces the overall object size a small amount. $ size drivers/net/wireless/rtlwifi/built-in.o* text data bss dec hex filename 586904 55333 127216 769453 bbdad drivers/net/wireless/rtlwifi/built-in.o.new 588901 55333 127216 771450 bc57a 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>
This commit is contained in:
parent
4cd9f40c66
commit
f56e7eb4dd
@ -168,9 +168,9 @@ do { \
|
||||
do { \
|
||||
if (unlikely(((comp) & rtlpriv->dbg.global_debugcomponents) && \
|
||||
((level) <= rtlpriv->dbg.global_debuglevel))) { \
|
||||
printk(KERN_DEBUG "%s:%s():<%lx-%x> " fmt, \
|
||||
KBUILD_MODNAME, __func__, \
|
||||
in_interrupt(), in_atomic(), ##__VA_ARGS__); \
|
||||
printk(KERN_DEBUG KBUILD_MODNAME ":%s():<%lx-%x> " fmt, \
|
||||
__func__, in_interrupt(), in_atomic(), \
|
||||
##__VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user