Re: [PATCH net-next] ethernet: remove superfluous clearing of phydev

From
Andrew Lunn <andrew@lunn.ch>
Date
2023-03-21 20:19:22
Also in
linux-renesas-soc, lkml
Reply to
Wolfram Sang, 2023-03-21
On Tue, Mar 21, 2023 at 02:17:45PM +0100, Wolfram Sang wrote:
phy_disconnect() calls phy_detach() which already clears 'phydev' if it
is attached to a struct net_device.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Thread (4 messages) 4 messages, 4 authors, last reply 2023-03-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help