ARM: uniphier: remove unused umc_polling()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 05:21:33 +0000 (14:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:16 +0000 (03:50 +0900)
This function is unused.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/umc-regs.h

index a6957a4a51ca51f4ebcff5a2a0ccafb1fab71907..b33e2da2bdaf162bb239b6e1c95d76caf52acf23 100644 (file)
 
 #include <linux/types.h>
 
-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);