summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-14 19:45:57 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-15 16:41:34 -0700
commitb1b7dcffed3281908322120f6f7abc879022dc68 (patch)
tree5ad1ebfb419e68f9b47ff1f0f44febecaf59fdb9 /drivers/net/tun.c
parent3a11d9ef65e788fffe348b071c965186af551368 (diff)
downloadlinux-b1b7dcffed3281908322120f6f7abc879022dc68.tar.bz2
net: ethernet: xilinx: axienet: 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 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/tun.c')
0 files changed, 0 insertions, 0 deletions