OSDN Git Service

net: emaclite: Remove unused 'has_mdio' flag.
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Wed, 13 Jun 2018 06:35:18 +0000 (12:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jun 2018 00:08:03 +0000 (17:08 -0700)
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>
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index 06eb6c8..ec4608e 100644 (file)
  * @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;
 };