diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 22:10:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 16:53:26 +0300 |
commit | bd5daba2d02479729526d35de85807aadf6fba20 (patch) | |
tree | 83dd1d6207a90444cc51c0f895dc9835f094e335 /include/linux | |
parent | d9f393f468aa939b53cc81b43169953ce37d7cdb (diff) | |
download | linux-bd5daba2d02479729526d35de85807aadf6fba20.tar.xz |
mii: remove mii_lpa_to_linkmode_lpa_sgmii()
The only caller of mii_lpa_to_linkmode_lpa_sgmii()
disappeared in v5.10.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mii.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/mii.h b/include/linux/mii.h index 12ea29e04293..b8a1a17a87dd 100644 --- a/include/linux/mii.h +++ b/include/linux/mii.h @@ -388,23 +388,6 @@ mii_lpa_mod_linkmode_lpa_sgmii(unsigned long *lp_advertising, u32 lpa) } /** - * mii_lpa_to_linkmode_adv_sgmii - * @advertising: pointer to destination link mode. - * @lpa: value of the MII_LPA register - * - * A small helper function that translates MII_ADVERTISE bits - * to linkmode advertisement settings when in SGMII mode. - * Clears the old value of advertising. - */ -static inline void mii_lpa_to_linkmode_lpa_sgmii(unsigned long *lp_advertising, - u32 lpa) -{ - linkmode_zero(lp_advertising); - - mii_lpa_mod_linkmode_lpa_sgmii(lp_advertising, lpa); -} - -/** * mii_adv_mod_linkmode_adv_t * @advertising:pointer to destination link mode. * @adv: value of the MII_ADVERTISE register |