mbox series

[net-next,v3,0/2] net: dsa: adjust_link removal

Message ID 20240430164816.2400606-1-florian.fainelli@broadcom.com (mailing list archive)
Headers show
Series net: dsa: adjust_link removal | expand

Message

Florian Fainelli April 30, 2024, 4:48 p.m. UTC
Now that the last in-tree driver (b53) has been converted to PHYLINK, we
can get rid of all of code that catered to working with drivers
implementing only PHYLIB's adjust_link callback.

Changes in v3:

- removed additional code in dsa_port_phylink_mac_link_down pertaining
  to the phy_device reference

Changes in v2:

- remove a now unused phy_device pointer in
  dsa_port_phylink_mac_link_down

Florian Fainelli (2):
  net: dsa: Remove fixed_link_update member
  net: dsa: Remove adjust_link paths

 include/net/dsa.h |  11 ----
 net/dsa/dsa.c     |   3 +-
 net/dsa/port.c    | 139 ++++------------------------------------------
 3 files changed, 12 insertions(+), 141 deletions(-)

Comments

Russell King (Oracle) April 30, 2024, 4:55 p.m. UTC | #1
On Tue, Apr 30, 2024 at 09:48:14AM -0700, Florian Fainelli wrote:
> Now that the last in-tree driver (b53) has been converted to PHYLINK, we
> can get rid of all of code that catered to working with drivers
> implementing only PHYLIB's adjust_link callback.

LGTM. For the whole series:

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

Thanks!
patchwork-bot+netdevbpf@kernel.org May 2, 2024, 2:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 30 Apr 2024 09:48:14 -0700 you wrote:
> Now that the last in-tree driver (b53) has been converted to PHYLINK, we
> can get rid of all of code that catered to working with drivers
> implementing only PHYLIB's adjust_link callback.
> 
> Changes in v3:
> 
> - removed additional code in dsa_port_phylink_mac_link_down pertaining
>   to the phy_device reference
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/2] net: dsa: Remove fixed_link_update member
    https://git.kernel.org/netdev/net-next/c/ad3e1287c6f3
  - [net-next,v3,2/2] net: dsa: Remove adjust_link paths
    https://git.kernel.org/netdev/net-next/c/8a021a863a7d

You are awesome, thank you!