net: phylink: remove a bunch of unused validation methods
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 16 Oct 2023 15:43:08 +0000 (16:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Oct 2023 00:51:53 +0000 (17:51 -0700)
commit743f6397623edc708eda76ecc20e70032166e573
tree831d794057d821e594654182b49d7a77f1be73bb
parentda5f6b80ad6417f7cf50d273c1c0ecb885e511e8
net: phylink: remove a bunch of unused validation methods

Remove exports for phylink_caps_to_linkmodes(),
phylink_get_capabilities(), phylink_validate_mask_caps() and
phylink_generic_validate(). Also, as phylink_generic_validate() is no
longer called, we can remove its implementation as well.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qsPkK-009wip-W9@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c
include/linux/phylink.h