diff options
| author | Colin Ian King <[email protected]> | 2017-07-11 11:52:23 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-13 09:23:56 -0700 |
| commit | 22c608919bd4f0fae8e70e1284c83e0f1d507f34 (patch) | |
| tree | 29c2fb4e6d163e8cddbc1660833a0f3110bdd738 /net/lapb/lapb_in.c | |
| parent | 0db01097cabd97897d123b4c5d805d1a7b061d82 (diff) | |
net: broadcom: bnx2x: make a couple of const arrays static
Don't populate various tables on the stack but make them static const.
Makes the object code smaller by nearly 200 bytes:
Before:
text data bss dec hex filename
113468 11200 0 124668 1e6fc bnx2x_ethtool.o
After:
text data bss dec hex filename
113129 11344 0 124473 1e639 bnx2x_ethtool.o
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Yuval Mintz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions