diff options
| author | Alexander Lobakin <alobakin@marvell.com> | 2020-07-20 21:08:14 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-20 17:59:44 -0700 |
| commit | 097818fcf81d672e32229fcc52a3370ccae8d3c5 (patch) | |
| tree | 9995cf8acf479a4f7afacef31021a0adb1348cbb /include/linux | |
| parent | 98e675ec5a92a15f6f8ade41eda883cd39df5712 (diff) | |
| download | cachepc-linux-097818fcf81d672e32229fcc52a3370ccae8d3c5.tar.gz cachepc-linux-097818fcf81d672e32229fcc52a3370ccae8d3c5.zip | |
qed: populate supported link modes maps on module init
Simplify and lighten qed_set_link() 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).
Misc: sanitize exit callback.
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
