diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-31 16:57:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-02 04:30:50 +0300 |
commit | 33c8182166273fa002ed11fd4ecd96120512941a (patch) | |
tree | 6db9ca574c8fa9065518f5571c2aec5ef91f4e50 /net | |
parent | d05071ed4a8a0acbc918bae76571d917ab05119b (diff) | |
download | linux-33c8182166273fa002ed11fd4ecd96120512941a.tar.xz |
net: phy: bcm7xxx: make array bcm7xxx_suspend_cfg static, reduces object code size
Don't populate the array bcm7xxx_suspend_cfg A on the stack, instead
make it static. Makes the object code smaller by over 300 bytes:
Before:
text data bss dec hex filename
6351 8146 0 14497 38a1 drivers/net/phy/bcm7xxx.o
After:
text data bss dec hex filename
5986 8210 0 14196 3774 drivers/net/phy/bcm7xxx.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions