net: phylink: remove .validate() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 16 Oct 2023 15:43:03 +0000 (16:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Oct 2023 00:51:53 +0000 (17:51 -0700)
commitda5f6b80ad6417f7cf50d273c1c0ecb885e511e8
treec30b061111d117dc207c4ec8a680d80d2b493ce4
parent2141297d4257f93ce214a2019d240cb602106973
net: phylink: remove .validate() method

The MAC .validate() method is no longer used, so remove it from the
phylink_mac_ops structure, and remove the callsite in
phylink_validate_mac_and_pcs().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qsPkF-009wij-QM@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/sfp-phylink.rst
drivers/net/phy/phylink.c
include/linux/phylink.h