aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/platform/vimc/vimc-common.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-18 10:24:44 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-08 10:05:41 -0500
commitcee32edb2302b6199dd763d44573f6b4f220f0e8 (patch)
treee66e462afa954299109ba3974c9c53de5a53c567 /drivers/media/platform/vimc/vimc-common.h
parentmedia: solo6x10: hide unused variable (diff)
downloadwireguard-linux-cee32edb2302b6199dd763d44573f6b4f220f0e8.tar.xz
wireguard-linux-cee32edb2302b6199dd763d44573f6b4f220f0e8.zip
media: cxusb: pass buf as a const u8 * pointer and make buf static const
Don't populate the read-only u8 array buf on the stack at run time but instead make it static const; makes object code smaller saving over 480 bytes: Before: text data bss dec hex filename 33030 65936 192 99158 18356 drivers/media/usb/dvb-usb/cxusb.o After: text data bss dec hex filename 32446 66032 192 98670 1816e drivers/media/usb/dvb-usb/cxusb.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.h')
0 files changed, 0 insertions, 0 deletions