summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>2018-06-13 08:35:18 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-15 02:08:03 +0200
commitbd45cbf5451dcbba16c19aafd6dd99bc3e1e9644 (patch)
treed1a6f41d2d29bc2ab9807b4fc888e75012967678
parentnet: emaclite: Fix MDIO bus unregister bug (diff)
downloadlinux-bd45cbf5451dcbba16c19aafd6dd99bc3e1e9644.tar.xz
linux-bd45cbf5451dcbba16c19aafd6dd99bc3e1e9644.zip
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>
-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;
};