diff options
| author | Colin Ian King <[email protected]> | 2019-09-06 14:58:07 +0100 | 
|---|---|---|
| committer | Gabriel Krisman Bertazi <[email protected]> | 2019-09-17 11:48:24 -0400 | 
| commit | aa28b98d6dbcdb1c822b53f90e509565dfc450b0 (patch) | |
| tree | 444f60d56df6b36e68dcf78f93c37217655f1793 /drivers/fpga/altera-pr-ip-core.c | |
| parent | 334b427e96d10f6e07117a785636dac81c430141 (diff) | |
unicode: make array 'token' static const, makes object smaller
Don't populate the array 'token' on the stack but instead make it
static const. Makes the object code smaller by 234 bytes.
Before:
   text	   data	    bss	    dec	    hex	filename
   5371	    272	      0	   5643	   160b	fs/unicode/utf8-core.o
After:
   text	   data	    bss	    dec	    hex	filename
   5041	    368	      0	   5409	   1521	fs/unicode/utf8-core.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Theodore Ts'o <[email protected]>
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-pr-ip-core.c')
0 files changed, 0 insertions, 0 deletions