summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-09-20 22:30:11 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-22 02:11:40 -0400
commit262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52 (patch)
tree8e847277369d42a7ab42fb7a2dfe5c9a162f72ea /include
parente82f71489ffb325a9b7bca367b06a39315452dfe (diff)
downloadlinux-stable-262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52.tar.gz
linux-stable-262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52.tar.bz2
linux-stable-262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52.zip
net: ethernet: hisilicon: hns: 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 phydev 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 'include')
0 files changed, 0 insertions, 0 deletions