diff options
| author | Colin Ian King <[email protected]> | 2020-10-16 23:33:03 +0100 | 
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-26 06:53:10 +0100 | 
| commit | 194b11c3e2fc0636a5157c1859981dc2b6f58c4b (patch) | |
| tree | bf241769553ca548de44d1add976dfa04153e6b8 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 0795f519d1afffc283b288660fad052ae6d4aae6 (diff) | |
staging: wfx: make a const array static, makes object smaller
Don't populate const array filter_ies on the stack but instead
make it static. Makes the object code smaller by 261 bytes.
Before:
   text	   data	    bss	    dec	    hex	filename
  21674	   3166	    448	  25288	   62c8	drivers/staging/wfx/sta.o
After:
   text	   data	    bss	    dec	    hex	filename
  21349	   3230	    448	  25027	   61c3	drivers/staging/wfx/sta.o
(gcc version 10.2.0)
Reviewed-by: Jérôme Pouiller <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions