diff options
| author | Marek Vasut <[email protected]> | 2025-02-22 21:33:11 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-02-26 18:26:57 +0100 |
| commit | c835f5c8463f34e780e696ea42779fb571356d64 (patch) | |
| tree | 8a59d0f782f27d8a2ae0937e81139fa74b95c263 | |
| parent | 8dd7186ca7821446c6f46b6cccefab502912f2e0 (diff) | |
net: ravb: Drop empty init callback
The init function does nothing, the bb_miiphy_init() already checks
whether the .init callback is assigned, and if not, skips calling it.
Remove the empty init function. The entire init callback will be
removed in follow up patches.
Reviewed-by: Paul Barker <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
| -rw-r--r-- | drivers/net/ravb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index 7286ad19598..5df557da7da 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -560,11 +560,6 @@ static int ravb_remove(struct udevice *dev) return 0; } -static int ravb_bb_init(struct bb_miiphy_bus *bus) -{ - return 0; -} - static int ravb_bb_mdio_active(struct bb_miiphy_bus *bus) { struct ravb_priv *eth = bus->priv; @@ -626,7 +621,6 @@ static int ravb_bb_delay(struct bb_miiphy_bus *bus) struct bb_miiphy_bus bb_miiphy_buses[] = { { .name = "ravb", - .init = ravb_bb_init, .mdio_active = ravb_bb_mdio_active, .mdio_tristate = ravb_bb_mdio_tristate, .set_mdio = ravb_bb_set_mdio, |
