From: Tom Rini Date: Tue, 2 Aug 2022 11:33:45 +0000 (-0400) Subject: warp7: Remove legacy non-DM_ETH code X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=2b882f3d9624524c2511034784a5e84d1d6d39e2;p=u-boot.git 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 --- 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 */