summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/mac.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-08-26 01:56:39 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-08-30 15:38:52 -0400
commit29e76245d46ff530bb2b0311e9fc823fc07b1147 (patch)
tree616e40295d0ca6b87e51334f32f4338cac3eb30a /drivers/net/wireless/ath/ath9k/mac.h
parent7b8112d6db0cc67dd2a722ca5bf707768890ac9d (diff)
ath: Make ath_printk void not int and remove unused struct ath_common *
Changing the return type and removing the unused argument from ath_printk reduces code size. Add an __always_unused struct ath_common * to the macros that call ath_printk to avoid unused variable warnings. $ size drivers/net/wireless/ath/built-in.o* text data bss dec hex filename 1159859 16235 212000 1388094 152e3e drivers/net/wireless/ath/built-in.o.new 1164175 16235 212032 1392442 153f3a drivers/net/wireless/ath/built-in.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
0 files changed, 0 insertions, 0 deletions