[PATCH 30/41] net: sunxi_emac: Remove non-DM_ETH code
Tom Rini
trini at konsulko.com
Sun Nov 27 16:25:25 CET 2022
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/net/sunxi_emac.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c
index 8625e49dae4d..ad9e1abd161e 100644
--- a/drivers/net/sunxi_emac.c
+++ b/drivers/net/sunxi_emac.c
@@ -164,9 +164,7 @@ struct emac_eth_dev {
struct mii_dev *bus;
struct phy_device *phydev;
int link_printed;
-#ifdef CONFIG_DM_ETH
uchar rx_buf[EMAC_RX_BUFSIZE];
-#endif
};
struct emac_rxhdr {
--
2.25.1
More information about the U-Boot
mailing list