[U-Boot] [PATCH 3/6] ARM: uniphier: remove unused sg_set_iectrl_range()

Masahiro Yamada yamada.masahiro at socionext.com
Fri Jun 28 17:38:03 UTC 2019


Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/sg-regs.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/mach-uniphier/sg-regs.h b/arch/arm/mach-uniphier/sg-regs.h
index 0497655fb5..8aed826c96 100644
--- a/arch/arm/mach-uniphier/sg-regs.h
+++ b/arch/arm/mach-uniphier/sg-regs.h
@@ -127,14 +127,6 @@ static inline void sg_set_iectrl(unsigned pin)
 	writel(tmp, reg);
 }
 
-static inline void sg_set_iectrl_range(unsigned min, unsigned max)
-{
-	int i;
-
-	for (i = min; i <= max; i++)
-		sg_set_iectrl(i);
-}
-
 #endif /* __ASSEMBLY__ */
 
 #endif /* UNIPHIER_SG_REGS_H */
-- 
2.17.1



More information about the U-Boot mailing list