From 958974fdaf7fcd26fcfcf409e3e61fdc3ab4020c Mon Sep 17 00:00:00 2001 From: Philippe Reynes Date: Thu, 23 Jun 2016 23:48:58 +0200 Subject: net: ethernet: dnet: 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 Signed-off-by: David S. Miller --- drivers/net/ethernet/dnet.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/net/ethernet/dnet.h') diff --git a/drivers/net/ethernet/dnet.h b/drivers/net/ethernet/dnet.h index 37f5b30fa78b..d985080bbd5d 100644 --- a/drivers/net/ethernet/dnet.h +++ b/drivers/net/ethernet/dnet.h @@ -216,7 +216,6 @@ struct dnet { /* PHY stuff */ struct mii_bus *mii_bus; - struct phy_device *phy_dev; unsigned int link; unsigned int speed; unsigned int duplex; -- cgit v1.2.3-59-g8ed1b