diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-09-01 18:35:08 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 15:28:28 +0300 |
| commit | bab4cb30dbf798f6d6df798aa23d33fb25f394e0 (patch) | |
| tree | d7ad20a8a140d4eebcbe713fadb59f7f657ab887 /include/linux | |
| parent | b8e9b36d2fc463d87f7b595fedf7ed7ae68dba1d (diff) | |
| download | linux-bab4cb30dbf798f6d6df798aa23d33fb25f394e0.tar.xz | |
media: rtl28xxu: make array rc_nec_tab static const
Don't populate the array rc_nec_tab on the stack, instead make it
static const. Makes the object code smaller by over 620 bytes:
Before:
text data bss dec hex filename
49511 17040 64 66615 10437 rtl28xxu.o
After:
text data bss dec hex filename
48825 17104 64 65993 101c9 rtl28xxu.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
