summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-10-09 11:39:55 +0100
committerDavid S. Miller <davem@davemloft.net>2023-10-11 10:06:05 +0100
commit63b9f7a19ff154778cef85cf9a28f31c4a77e847 (patch)
treef460bc4e4e8acc5e216ebea19907e943d8801c34 /net/core/dev.c
parentdb2c6d5fc4bddd15a98cc7964cec0af7a51160c0 (diff)
net: dsa: remove dsa_port_phylink_validate()
As all drivers now provide phylink capabilities (including MAC), the if() condition in dsa_port_phylink_validate() will always be true. We will always use the generic validator, which phylink will call itself if the .validate method isn't populated. Thus, there is now no need to implement the .validate method, so this implementation can be removed. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions