diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-09-20 22:30:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 02:11:40 -0400 |
commit | 262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52 (patch) | |
tree | 8e847277369d42a7ab42fb7a2dfe5c9a162f72ea /drivers/net/appletalk | |
parent | e82f71489ffb325a9b7bca367b06a39315452dfe (diff) |
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 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions