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

- From: Florian Fainelli \<f.fainelli@gmail.com\>
- Date: 2023-03-21 20:39:50 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/03/2142872
- Thread: https://ratatoskr.run/netdev/2023/03/2142295/t.md

```text
On 3/21/23 06:17, 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: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

```
