diff options
| author | Alexander Lobakin <alobakin@marvell.com> | 2020-07-20 21:08:02 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-20 17:59:43 -0700 |
| commit | 1d4e4ecccb114449454592e24ad790e20f397c05 (patch) | |
| tree | 49c9b719df2ae2b4a0951febdf19e865aa2dd871 /include/linux | |
| parent | bdb5d8ec47611ca61e168349f233e1dd1ed063f4 (diff) | |
| download | cachepc-linux-1d4e4ecccb114449454592e24ad790e20f397c05.tar.gz cachepc-linux-1d4e4ecccb114449454592e24ad790e20f397c05.zip | |
qede: populate supported link modes maps on module init
Simplify and lighten qede_set_link_ksettings() by declaring static link
modes maps and populating them on module init. This way we save plenty
of text size at the low expense of __ro_after_init and __initconst data
(the latter will be purged after module init is done).
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
