From: Tom Rini Date: Sun, 27 Nov 2022 15:25:25 +0000 (-0500) Subject: net: sunxi_emac: Remove non-DM_ETH code X-Git-Tag: v2025.01-rc5-pxa1908~1158^2~12^2~11 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=8f5c7cc96bf8a82ae498443a0ee2364cddb05696;p=u-boot.git net: sunxi_emac: Remove non-DM_ETH code 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 --- diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 8625e49dae..ad9e1abd16 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 {