diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-10-07 11:52:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 12:21:28 +0200 |
commit | 27dbc2e63b9aff694a22c69bba18375750cb6643 (patch) | |
tree | 2a3658d8ebd9524f1b53febabf3612f444590ce6 /kernel | |
parent | media: cx231xx: remove duplicated include from cx231xx-417.c (diff) | |
download | linux-27dbc2e63b9aff694a22c69bba18375750cb6643.tar.xz linux-27dbc2e63b9aff694a22c69bba18375750cb6643.zip |
media: cx18: make array mapping static, makes object smaller
Don't populate the array mapping on the stack but instead make it
static. Makes the object code smaller by 79 bytes.
Before:
text data bss dec hex filename
27572 2096 0 29668 73e4 drivers/media/pci/cx18/cx18-ioctl.o
After:
text data bss dec hex filename
27429 2160 0 29589 7395 drivers/media/pci/cx18/cx18-ioctl.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions