diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-03-08 13:30:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 23:53:18 +0300 |
commit | 6fe59b7eec391ad2e340f7727781cede099ab4c9 (patch) | |
tree | c7f0155c77538022ba7dc6494886da15ba697637 /drivers/media/usb/gspca/pac7311.c | |
parent | c51f3b7f25dedca3f988defeee9d07f04e4f5401 (diff) | |
download | linux-6fe59b7eec391ad2e340f7727781cede099ab4c9.tar.xz |
media: em28xx-input: make const array addr_list static
Don't populate the array addr_list on the stack but instead make it
static. Makes the object code smaller by 20 bytes
Before:
text data bss dec hex filename^M
16929 3626 384 20939 51cb ../usb/em28xx/em28xx-input.o
After:
text data bss dec hex filename^M
16829 3706 384 20919 51b7 ../usb/em28xx/em28xx-input.o
(gcc version 8.3.0, aarch64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/gspca/pac7311.c')
0 files changed, 0 insertions, 0 deletions