OSDN Git Service

Merge branch 'remove-some-unused-phylink-legacy'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 18 Jul 2023 07:47:11 +0000 (09:47 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Jul 2023 07:47:11 +0000 (09:47 +0200)
commita7f6eb19e26dc81b1bc469689b9a4c2caceaf852
treea6e7845cabb15be28ac832734c6cee6d6f48f95c
parent2cee73cef253a333c7d48a0f8edda53e3cca990c
parent76226787e137962750241bb29a9572dfc10d9eb1
Merge branch 'remove-some-unused-phylink-legacy'

Russell King says:

====================
Remove some unused phylink legacy

I believe we are now in a position where some of the legacy phylink code
can be removed!

I believe that all DSA drivers do not make use of any pre-March 2020
phylink behaviour - all drivers now seem to set legacy_pre_march2020 to
false, and the conditions that DSA sets it to true are no longer
satisifed by any driver.

Moreover, no one uses the .mac_an_restart() method, so this can also be
removed.
====================

Link: https://lore.kernel.org/r/ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>