From: Antony Pavlov Date: Sun, 24 May 2015 20:46:36 +0000 (+0300) Subject: drop useless extern function declarations X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b67443e739ff7bab06953bef476efacc84e327df;p=oweals%2Fu-boot_mod.git drop useless extern function declarations Signed-off-by: Antony Pavlov --- diff --git a/u-boot/cpu/mips/ar7240/ag7240.c b/u-boot/cpu/mips/ar7240/ag7240.c index 191da09..6885025 100644 --- a/u-boot/cpu/mips/ar7240/ag7240.c +++ b/u-boot/cpu/mips/ar7240/ag7240.c @@ -30,19 +30,11 @@ ag7240_mac_t *ag7240_macs[CFG_AG7240_NMACS]; extern void ar933x_sys_frequency(u32 *cpu_freq, u32 *ddr_freq, u32 *ahb_freq); -extern int athrs26_phy_setup(int unit); -extern int athrs26_phy_is_up(int unit); -extern int athrs26_phy_is_fdx(int unit); -extern int athrs26_phy_speed(int unit); extern void athrs26_reg_init(void); extern void athrs26_reg_init_lan(void); extern int athrs26_mdc_check(void); #ifdef CONFIG_F1E_PHY -extern int athr_phy_setup(int unit); -extern int athr_phy_is_up(int unit); -extern int athr_phy_is_fdx(int unit); -extern int athr_phy_speed(int unit); extern void athr_reg_init(void); #endif diff --git a/u-boot/cpu/mips/ar7240/ag934x.c b/u-boot/cpu/mips/ar7240/ag934x.c index 200a871..5a6fccf 100644 --- a/u-boot/cpu/mips/ar7240/ag934x.c +++ b/u-boot/cpu/mips/ar7240/ag934x.c @@ -24,10 +24,6 @@ ag7240_mac_t *ag7240_macs[CFG_AG7240_NMACS]; extern void ar7240_sys_frequency(u32 *cpu_freq, u32 *ddr_freq, u32 *ahb_freq); #ifdef CFG_ATHRS26_PHY -extern int athrs26_phy_setup(int unit); -extern int athrs26_phy_is_up(int unit); -extern int athrs26_phy_is_fdx(int unit); -extern int athrs26_phy_speed(int unit); extern void athrs26_reg_init(void); extern void athrs26_reg_init_lan(void); extern int athrs26_mdc_check(void); @@ -38,28 +34,15 @@ extern void athrs17_reg_init(void); #endif #ifdef CFG_ATHRS27_PHY -extern int athrs27_phy_setup(int unit); -extern int athrs27_phy_is_up(int unit); -extern int athrs27_phy_is_fdx(int unit); -extern int athrs27_phy_speed(int unit); extern void athrs27_reg_init(void); extern void athrs27_reg_init_lan(void); -extern int athrs27_mdc_check(void); #endif #if defined(CONFIG_F1E_PHY) || defined(CONFIG_F2E_PHY) -extern int athr_phy_setup(int unit); -extern int athr_phy_is_up(int unit); -extern int athr_phy_is_fdx(int unit); -extern int athr_phy_speed(int unit); extern void athr_reg_init(void); #endif #ifdef CONFIG_VIR_PHY -extern int athr_vir_phy_setup(int unit); -extern int athr_vir_phy_is_up(int unit); -extern int athr_vir_phy_is_fdx(int unit); -extern int athr_vir_phy_speed(int unit); extern void athr_vir_reg_init(void); #endif