Re: [PATCH net-next] net: phylink: Remove redundant netdev.phydev assignment

2018-03-01 Thread David Miller
From: Richard Cochran Date: Fri, 23 Feb 2018 07:25:46 -0800 > As a part of working on MII time stamping infrastructure, I was trying > to figure out how netdev->phydev gets assigned, and I stumbled across > this. Ever since the new phylink code came in, the field is assigned > twice. > > The fu

[PATCH net-next] net: phylink: Remove redundant netdev.phydev assignment

2018-02-23 Thread Richard Cochran
As a part of working on MII time stamping infrastructure, I was trying to figure out how netdev->phydev gets assigned, and I stumbled across this. Ever since the new phylink code came in, the field is assigned twice. The function, phylink_connect_phy(), calls phy_attach_direct()