From 021f6038a233bc6a60edc4adc1819492fddff9ff Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 2 Mar 2012 22:39:32 +0000 Subject: PPC: Drop mv6446x_eth_initialize() from net/eth.c This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by: Marek Vasut Cc: Stefan Roese --- net/eth.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'net') diff --git a/net/eth.c b/net/eth.c index a5780c546..f14767b24 100644 --- a/net/eth.c +++ b/net/eth.c @@ -81,8 +81,6 @@ static int __def_eth_init(bd_t *bis) int cpu_eth_init(bd_t *bis) __attribute__((weak, alias("__def_eth_init"))); int board_eth_init(bd_t *bis) __attribute__((weak, alias("__def_eth_init"))); -extern int mv6446x_eth_initialize(bd_t *); - #ifdef CONFIG_API extern void (*push_packet)(volatile void *, int); @@ -280,9 +278,6 @@ int eth_initialize(bd_t *bis) } else printf("Net Initialization Skipped\n"); -#if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx) - mv6446x_eth_initialize(bis); -#endif if (!eth_devices) { puts ("No ethernet found.\n"); show_boot_progress (-64); -- cgit v1.2.3