diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-09-04 16:47:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 11:17:47 +0200 |
commit | 93f5715efdc23584526f0a157f13eb6c8698f376 (patch) | |
tree | f6da1acffe7c81c13da468c7cda1bac99d4cd54b /drivers/staging/most/video/video.c | |
parent | 08633dcb5a7cde2c7cdd4744b8c9e87e43e103f9 (diff) |
staging: most: net: make array 'broadcast' static, shrinks object size
Don't populate the array 'broadcast' on the stack but instead make it
static. Makes the object code smaller by 53 bytes:
Before:
text data bss dec hex filename
10511 1521 448 12480 30c0 drivers/staging/most/net/net.o
After:
text data bss dec hex filename
10394 1585 448 12427 308b drivers/staging/most/net/net.o
(gcc version 8.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/video/video.c')
0 files changed, 0 insertions, 0 deletions