diff options
| author | 2017-09-06 09:30:16 -0400 | |
|---|---|---|
| committer | 2017-09-23 08:30:10 -0400 | |
| commit | 3ff692fad32829b5b2199273d2b35273ecab007f (patch) | |
| tree | 5fdf74e61835d6d9ccc2e1ca8335237ce6e4394e /tools/perf/scripts/python | |
| parent | media: cobalt: remove redundant zero check on retval (diff) | |
media: ov9640: make const arrays res_x/y static const, reduces object code size
Don't populate the arrays res_x and resy_y on the stack, instead make them
static const. Makes the object code smaller by over 160 bytes:
Before:
text data bss dec hex filename
10509 2800 64 13373 343d ov9640.o
After:
text data bss dec hex filename
10184 2960 64 13208 3398 ov9640.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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
