diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-07 18:08:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-07 18:08:01 -0500 |
commit | 2b2e9127ccdacdd1170dfcd2a4f1794ff9446fb1 (patch) | |
tree | c43505efa6b8a29f4382024c6ef606e9a9d34d94 /drivers/net/netconsole.c | |
parent | b071de98433c9bcc5a44e005a7c7b7cda1333bb9 (diff) | |
parent | e524f3a449f58e2ef967fb9b64b01db3d099a27a (diff) |
Merge branch '2022-12-07-Kconfig-migrations' into next
- Import another batch of Kconfig migrations and in this case, also
legacy code removal.
Diffstat (limited to 'drivers/net/netconsole.c')
-rw-r--r-- | drivers/net/netconsole.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index cec96c57150..1e52917ff2c 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -172,11 +172,7 @@ int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port, 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; @@ -298,11 +294,7 @@ static int nc_stdio_getc(struct stdio_dev *dev) 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; |