diff options
| author | Tom Rini <[email protected]> | 2022-11-27 10:25:25 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-07 16:04:17 -0500 |
| commit | 8f5c7cc96bf8a82ae498443a0ee2364cddb05696 (patch) | |
| tree | 63ac748480aa87ca4f4f9b67a1907826e83cb1b5 | |
| parent | 61af2af3f74767c6babd1ff54b21f9bdb678ea0e (diff) | |
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 <[email protected]>
| -rw-r--r-- | drivers/net/sunxi_emac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 8625e49dae4..ad9e1abd161 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 { |
