[PATCH 3/3] ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from arch/arm/mach-pxa/colibri.h

Gaosheng Cui cuigaosheng1 at huawei.com
Tue Sep 20 06:01:10 PDT 2022


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 at huawei.com>
---
 arch/arm/mach-pxa/colibri.h | 6 ------
 1 file changed, 6 deletions(-)

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
-- 
2.25.1




More information about the linux-arm-kernel mailing list