From: Radhey Shyam Pandey Date: Wed, 13 Jun 2018 06:35:18 +0000 (+0530) Subject: net: emaclite: Remove unused 'has_mdio' flag. X-Git-Tag: v5.4.17~5787^2~11^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bd45cbf5451dcbba16c19aafd6dd99bc3e1e9644;p=arm%2Flinux.git net: emaclite: Remove unused 'has_mdio' flag. Remove unused 'has_mdio' flag. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller --- 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; };