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@konsulko.com>
static void nc_send_packet(const char *buf, int len)
{
-#ifdef CONFIG_DM_ETH
struct udevice *eth;
-#else
- struct eth_device *eth;
-#endif
int inited = 0;
uchar *pkt;
uchar *ether;
static int nc_stdio_tstc(struct stdio_dev *dev)
{
-#ifdef CONFIG_DM_ETH
struct udevice *eth;
-#else
- struct eth_device *eth;
-#endif
if (input_recursion)
return 0;