# Re: \[PATCH\] mwifiex: Make mwifiex\_dbg a function, reduce object size

- From: Joe Perches \<joe@perches.com\>
- Date: 2015-09-01 15:16:07 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/09/4567713
- Thread: https://ratatoskr.run/linux-wireless/2015/08/4567131/t.md

```text
On Tue, 2015-09-01 at 15:09 +0000, David Laight wrote:
> From: Joe Perches
> > Sent: 31 August 2015 18:47
> > 
> > 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.
> 
> This looks like it will slow things down somewhat.

I doubt in any meaningful way.
```
