summaryrefslogtreecommitdiff
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-06-15 12:09:32 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-16 13:53:41 -0700
commitfead5b1b5838ba2f231d76e1b8ed31a4e9449382 (patch)
tree80727e05f98877465b92a228f1f9b2801e096c70 /include/linux/stmmac.h
parentce4ab73ab0c27c6a3853695aa8ec0f453c6329cd (diff)
downloadlwn-fead5b1b5838ba2f231d76e1b8ed31a4e9449382.tar.gz
lwn-fead5b1b5838ba2f231d76e1b8ed31a4e9449382.zip
net: stmmac: drop the phy_reset hook from struct stmmac_mdio_bus_data
The phy_reset hook is not set anywhere. Drop it to make stmmac_mdio_reset() smaller. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 7c8328edd501..6dfb5aa75b0c 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -92,7 +92,6 @@
/* Platfrom data for platform device structure's platform_data field */
struct stmmac_mdio_bus_data {
- int (*phy_reset)(void *priv);
unsigned int phy_mask;
int *irqs;
int probed_phy_irq;