diff options
| author | Joe Perches <joe@perches.com> | 2012-03-19 04:30:53 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 22:52:14 +0400 |
| commit | 227842d1176019512d24236f7fb894f0fadd30d1 (patch) | |
| tree | 431ec48aaacfbfbe33083cde0d038ec21284bfba /include | |
| parent | 516304b0f45614fb8967dc86ff681499204cdbb1 (diff) | |
| download | linux-227842d1176019512d24236f7fb894f0fadd30d1.tar.xz | |
ath5k: Introduce _ath5k_printk to reduce code/text
Macros can be converted to functions to reduce overall object size.
Convert the ATH5K_PRINTK macro to use _ath5k_printk.
Allyesconfig size is reduced ~10%
$ size drivers/net/wireless/ath/ath5k/built-in.o*
text data bss dec hex filename
211557 2032 40672 254261 3e135 drivers/net/wireless/ath/ath5k/built-in.o.new
235412 2032 47296 284740 45844 drivers/net/wireless/ath/ath5k/built-in.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
