aboutsummaryrefslogtreecommitdiff
path: root/net/eth_internal.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-27 10:25:36 -0500
committerTom Rini <trini@konsulko.com>2022-12-07 16:04:17 -0500
commite524f3a449f58e2ef967fb9b64b01db3d099a27a (patch)
treec43505efa6b8a29f4382024c6ef606e9a9d34d94 /net/eth_internal.h
parent9e0bcf8043084515fd7d0102b5f3192ae2be1124 (diff)
net: Remove eth_legacy.c
As there are no more non-DM_ETH cases for networking, remove this legacy file and update the Makefile to match current usage. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net/eth_internal.h')
-rw-r--r--net/eth_internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/eth_internal.h b/net/eth_internal.h
index 042e58a99a..0b829a8d38 100644
--- a/net/eth_internal.h
+++ b/net/eth_internal.h
@@ -29,11 +29,7 @@ int eth_env_set_enetaddr_by_index(const char *base_name, int index,
int eth_mac_skip(int index);
void eth_current_changed(void);
-#ifdef CONFIG_DM_ETH
void eth_set_dev(struct udevice *dev);
-#else
-void eth_set_dev(struct eth_device *dev);
-#endif
void eth_set_current_to_next(void);
#endif