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>
This commit is contained in:

committed by
David S. Miller

parent
7e770b252a
commit
ce4ab73ab0
@@ -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 {
|
||||
|
Reference in New Issue
Block a user