From 2b882f3d9624524c2511034784a5e84d1d6d39e2 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 2 Aug 2022 07:33:45 -0400 Subject: [PATCH] warp7: Remove legacy non-DM_ETH code Now that we are about to enable DM_ETH by default, remove legacy code. Cc: Fabio Estevam Signed-off-by: Tom Rini --- board/warp7/warp7.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 95b8e82dd1..ead52d5a49 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -66,19 +66,6 @@ int power_init_board(void) } #endif -int board_eth_init(struct bd_info *bis) -{ - int ret = 0; - -#ifdef CONFIG_USB_ETHER - ret = usb_eth_initialize(bis); - if (ret < 0) - printf("Error %d registering USB ether.\n", ret); -#endif - - return ret; -} - int board_init(void) { /* address of boot parameters */