diff options
| author | Colin Ian King <[email protected]> | 2021-08-01 15:22:09 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-08-02 22:01:55 +0000 |
| commit | d5731f891a0c194fa4231c67a984b75f55c7674f (patch) | |
| tree | c2d1d43305ffc698918b32ccb27e83311cdf7ed8 /net/unix/unix_bpf.c | |
| parent | qlcnic: make the array random_data static const, makes object smaller (diff) | |
| download | kernel-d5731f891a0c194fa4231c67a984b75f55c7674f.tar.gz kernel-d5731f891a0c194fa4231c67a984b75f55c7674f.zip | |
dpaa2-eth: make the array faf_bits static const, makes object smaller
Don't populate the array faf_bits on the stack but instead it
static const. Makes the object code smaller by 175 bytes.
Before:
text data bss dec hex filename
9645 4552 0 14197 3775 ../freescale/dpaa2/dpaa2-eth-devlink.o
After:
text data bss dec hex filename
9406 4616 0 14022 36c6 ../freescale/dpaa2/dpaa2-eth-devlink.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
