Re: mwifiex: Make mwifiex_dbg a function, reduce object size

From
Kalle Valo <hidden>
Date
2015-09-29 07:33:29
Also in
linux-wireless, lkml
Reply to
Joe Perches, 2015-08-31
The mwifiex_dbg macro has two tests that could be consolidated
into a function reducing overall object size ~10KB (~4%).

So convert the macro into a function.

$ size drivers/net/wireless/mwifiex/built-in.o* (x86-64 defconfig)
   text	   data	    bss	    dec	    hex	filename
 233102	   8628	   4809	 246539	  3c30b	drivers/net/wireless/mwifiex/built-in.o.new
 243949	   8628	   4809	 257386	  3ed6a	drivers/net/wireless/mwifiex/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Thanks, applied to wireless-drivers-next.git.

Kalle Valo
Thread (4 messages) 4 messages, 3 authors, last reply 2015-09-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help