Message ID | 20220920130110.1104272-4-cuigaosheng1@huawei.com |
---|---|
State | New |
Headers | show |
Series | Remove unused declarations from arm | expand |
diff --git a/arch/arm/mach-pxa/colibri.h b/arch/arm/mach-pxa/colibri.h index 01a46f36cc1f..f44046f87983 100644 --- a/arch/arm/mach-pxa/colibri.h +++ b/arch/arm/mach-pxa/colibri.h @@ -30,12 +30,6 @@ static inline void colibri_pxa270_income_boardinit(void) {} * common settings for all modules */ -#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE) -extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin); -#else -static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {} -#endif - #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE) extern void colibri_pxa3xx_init_lcd(int bl_pin); #else
All uses of colibri_pxa3xx_init_mmc() have been removed by commit 9b6956f45132 ("ARM: pxa: Push Colibri evalboard MFP into module files"). So remove the orphan declaration and the unused inline function. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> --- arch/arm/mach-pxa/colibri.h | 6 ------ 1 file changed, 6 deletions(-)