[PATCH net-next v2 4/7] net: ethernet: fs_enet: drop unused phy_info and mii_if_info

Maxime Chevallier maxime.chevallier at bootlin.com
Wed Sep 4 18:52:13 AEST 2024


Hi Andrew,

On Fri, 30 Aug 2024 23:07:56 +0200
Andrew Lunn <andrew at lunn.ch> wrote:

> On Thu, Aug 29, 2024 at 06:15:27PM +0200, Maxime Chevallier wrote:
> > There's no user of the struct phy_info, the 'phy' field and the
> > mii_if_info in the fs_enet driver, probably dating back when phylib
> > wasn't as widely used.  Drop these from the driver code.  
> 
> There might be an include of linux/mii.h you can also drop?

Oh nice catch ! They are indeed no longer useful, I'll add that in V3.

Thanks,

Maxime


More information about the Linuxppc-dev mailing list