mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-15 11:46:59 +02:00
net: designware: Drop NULL priv assignment
This is unnecessary, the unset structure member is initialized to NULL by default, drop the assignment. Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
4e984c1160
commit
165fba6c91
@ -1041,7 +1041,6 @@ struct bb_miiphy_bus bb_miiphy_buses[] = {
|
|||||||
.get_mdio = dw_eth_bb_get_mdio,
|
.get_mdio = dw_eth_bb_get_mdio,
|
||||||
.set_mdc = dw_eth_bb_set_mdc,
|
.set_mdc = dw_eth_bb_set_mdc,
|
||||||
.delay = dw_eth_bb_delay,
|
.delay = dw_eth_bb_delay,
|
||||||
.priv = NULL,
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user