Re: [PATCH 1/2] net: ethernet: hisilicon: hns: use phydev from struct net_device

From: David Miller
Date: Thu Sep 22 2016 - 02:12:18 EST


From: Philippe Reynes <tremyfr@xxxxxxxxx>
Date: Tue, 20 Sep 2016 22:30:11 +0200

> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phydev in the private structure, and update the driver to use the
> one contained in struct net_device.
>
> Signed-off-by: Philippe Reynes <tremyfr@xxxxxxxxx>

Applied.