From b67443e739ff7bab06953bef476efacc84e327df Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Sun, 24 May 2015 23:46:36 +0300 Subject: [PATCH] drop useless extern function declarations Signed-off-by: Antony Pavlov --- u-boot/cpu/mips/ar7240/ag7240.c | 8 -------- u-boot/cpu/mips/ar7240/ag934x.c | 17 ----------------- 2 files changed, 25 deletions(-) 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 -- 2.25.1