summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorPhilippe Reynes2016-07-30 17:42:11 +0200
committerDavid S. Miller2016-08-09 00:42:21 +0200
commitc6c022e3602a8165ead71d60ac7ac22e07c81d37 (patch)
treee5fb05f1e165b6c31cb8961d0f29f03d921f4e0e /net/ipv4
parentnet: ethernet: greth: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadkernel-qcow2-linux-c6c022e3602a8165ead71d60ac7ac22e07c81d37.tar.gz
kernel-qcow2-linux-c6c022e3602a8165ead71d60ac7ac22e07c81d37.tar.xz
kernel-qcow2-linux-c6c022e3602a8165ead71d60ac7ac22e07c81d37.zip
net: ethernet: marvell: mvneta: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy_dev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions