summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>2018-06-13 12:05:18 +0530
committerDavid S. Miller <davem@davemloft.net>2018-06-14 17:08:03 -0700
commitbd45cbf5451dcbba16c19aafd6dd99bc3e1e9644 (patch)
treed1a6f41d2d29bc2ab9807b4fc888e75012967678 /drivers
parent27cad008406600822ab638980412ceea740e7fc8 (diff)
downloadlinux-bd45cbf5451dcbba16c19aafd6dd99bc3e1e9644.tar.bz2
net: emaclite: Remove unused 'has_mdio' flag.
Remove unused 'has_mdio' flag. Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 06eb6c886388..ec4608e8ab1b 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -123,7 +123,6 @@
* @phy_node: pointer to the PHY device node
* @mii_bus: pointer to the MII bus
* @last_link: last link status
- * @has_mdio: indicates whether MDIO is included in the HW
*/
struct net_local {
@@ -144,7 +143,6 @@ struct net_local {
struct mii_bus *mii_bus;
int last_link;
- bool has_mdio;
};