diff options
| author | Joe Perches <[email protected]> | 2011-11-17 17:46:15 -0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-11-21 16:20:48 -0500 |
| commit | 1e7aecc26b95efb9d9bdba1ff5c33c99ca34d4ad (patch) | |
| tree | 96582cf4a9b32af23c4fb5aada49a600b3b6249b /tools/perf/scripts/python | |
| parent | 1ffeb2a3e943299a2ca954b8d10c208c853c1960 (diff) | |
iwl-debug: Shrink object by using dev_err and deduplicating formats
Using dev_err instead of dev_printk(KERN_ERR uses fewer
arguments and is a bit smaller.
Deduplicating formats used by IWL_DEBUG_QUIET_RFKILL also
makes the object a bit smaller.
Neatened the macros, used ##__VA_ARGS__.
$ size drivers/net/wireless/iwlwifi/built-in.o*
text data bss dec hex filename
462652 8646 92576 563874 89aa2 drivers/net/wireless/iwlwifi/built-in.o.new
467557 8646 92592 568795 8addb drivers/net/wireless/iwlwifi/built-in.o.old
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions