aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/ll_temac.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-14 01:48:51 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-14 17:42:30 -0700
commit31abbe34e0f07e8c92f68865cb1d6dde0fe1d52d (patch)
treec80fb98c6e8f16e1fd55321de7291b10d5c5c497 /drivers/net/ethernet/xilinx/ll_temac.h
parentMerge tag 'wireless-drivers-next-for-davem-2016-07-13' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next (diff)
downloadlinux-dev-31abbe34e0f07e8c92f68865cb1d6dde0fe1d52d.tar.xz
linux-dev-31abbe34e0f07e8c92f68865cb1d6dde0fe1d52d.zip
net: ethernet: ll_temac: 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/ethernet/xilinx/ll_temac.h')
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/ll_temac.h b/drivers/net/ethernet/xilinx/ll_temac.h
index 902457e43628..7d06e3e1abac 100644
--- a/drivers/net/ethernet/xilinx/ll_temac.h
+++ b/drivers/net/ethernet/xilinx/ll_temac.h
@@ -332,7 +332,6 @@ struct temac_local {
struct device *dev;
/* Connection to PHY device */
- struct phy_device *phy_dev; /* Pointer to PHY device */
struct device_node *phy_node;
/* MDIO bus data */