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

From: Kalle Valo
Date: Tue Sep 29 2015 - 03:33:32 EST



> 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@xxxxxxxxxxx>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/