summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-06-15 13:09:31 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-16 23:53:41 +0300
commitce4ab73ab0c27c6a3853695aa8ec0f453c6329cd (patch)
tree15dd4cf19d7b9d7aabdc8cce4ea5a65cd9205eda /include
parent7e770b252a62e7498cfa9411018100fd86e56d47 (diff)
downloadlinux-ce4ab73ab0c27c6a3853695aa8ec0f453c6329cd.tar.xz
net: stmmac: drop the reset delays from struct stmmac_mdio_bus_data
Only OF platforms use the reset delays and these delays are only read in stmmac_mdio_reset(). Move them from struct stmmac_mdio_bus_data to a stack variable inside stmmac_mdio_reset() because that's the only usage of these delays. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/stmmac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index a0cc6fa4965b..7c8328edd501 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -96,9 +96,6 @@ struct stmmac_mdio_bus_data {
unsigned int phy_mask;
int *irqs;
int probed_phy_irq;
-#ifdef CONFIG_OF
- u32 delays[3];
-#endif
};
struct stmmac_dma_cfg {