From: Masahiro Yamada Date: Fri, 26 Feb 2016 05:21:33 +0000 (+0900) Subject: ARM: uniphier: remove unused umc_polling() X-Git-Tag: v2016.03-rc3~6^2~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8353266825d7b7d673519bce3a54cdddf2c3d459;p=oweals%2Fu-boot.git ARM: uniphier: remove unused umc_polling() This function is unused. Signed-off-by: Masahiro Yamada --- diff --git a/arch/arm/mach-uniphier/dram/umc-regs.h b/arch/arm/mach-uniphier/dram/umc-regs.h index a6957a4a51..b33e2da2bd 100644 --- a/arch/arm/mach-uniphier/dram/umc-regs.h +++ b/arch/arm/mach-uniphier/dram/umc-regs.h @@ -120,15 +120,6 @@ #include -static inline void umc_polling(u32 address, u32 expval, u32 mask) -{ - u32 nmask = ~mask; - u32 data; - do { - data = readl(address) & nmask; - } while (data != expval); -} - static inline void umc_dram_init_start(void __iomem *dramcont) { writel(0x00000002, dramcont + UMC_INITSET);