ARM: remove unused arch_decomp_wdog()
Shawn Guo [Wed, 12 Dec 2012 13:06:21 +0000 (21:06 +0800)]
With ARCH_HAS_DECOMP_WDOG removed from arch/arm/boot/compressed/decompress.c,
all the arch_decomp_wdog() definition at platform level is unneeded.
Remmove it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Jason Cooper <jason@lakedaemon.net>

42 files changed:
arch/arm/mach-at91/include/mach/uncompress.h
arch/arm/mach-bcm2835/include/mach/uncompress.h
arch/arm/mach-clps711x/include/mach/uncompress.h
arch/arm/mach-cns3xxx/include/mach/uncompress.h
arch/arm/mach-davinci/include/mach/uncompress.h
arch/arm/mach-dove/include/mach/uncompress.h
arch/arm/mach-ebsa110/include/mach/uncompress.h
arch/arm/mach-ep93xx/include/mach/uncompress.h
arch/arm/mach-footbridge/include/mach/uncompress.h
arch/arm/mach-gemini/include/mach/uncompress.h
arch/arm/mach-h720x/include/mach/uncompress.h
arch/arm/mach-integrator/include/mach/uncompress.h
arch/arm/mach-iop13xx/include/mach/uncompress.h
arch/arm/mach-iop32x/include/mach/uncompress.h
arch/arm/mach-iop33x/include/mach/uncompress.h
arch/arm/mach-ixp4xx/include/mach/uncompress.h
arch/arm/mach-kirkwood/include/mach/uncompress.h
arch/arm/mach-ks8695/include/mach/uncompress.h
arch/arm/mach-lpc32xx/include/mach/uncompress.h
arch/arm/mach-mmp/include/mach/uncompress.h
arch/arm/mach-msm/include/mach/uncompress.h
arch/arm/mach-mv78xx0/include/mach/uncompress.h
arch/arm/mach-mxs/include/mach/uncompress.h
arch/arm/mach-netx/include/mach/uncompress.h
arch/arm/mach-nomadik/include/mach/uncompress.h
arch/arm/mach-omap1/include/mach/uncompress.h
arch/arm/mach-omap2/include/mach/uncompress.h
arch/arm/mach-orion5x/include/mach/uncompress.h
arch/arm/mach-prima2/include/mach/uncompress.h
arch/arm/mach-pxa/include/mach/uncompress.h
arch/arm/mach-realview/include/mach/uncompress.h
arch/arm/mach-rpc/include/mach/uncompress.h
arch/arm/mach-sa1100/include/mach/uncompress.h
arch/arm/mach-shark/include/mach/uncompress.h
arch/arm/mach-shmobile/include/mach/uncompress.h
arch/arm/mach-tegra/include/mach/uncompress.h
arch/arm/mach-u300/include/mach/uncompress.h
arch/arm/mach-ux500/include/mach/uncompress.h
arch/arm/mach-versatile/include/mach/uncompress.h
arch/arm/mach-vt8500/include/mach/uncompress.h
arch/arm/mach-w90x900/include/mach/uncompress.h
arch/arm/plat-spear/include/plat/uncompress.h

index 97ad68a..5659f7c 100644 (file)
@@ -196,6 +196,4 @@ static inline void flush(void)
                barrier();
 }
 
-#define arch_decomp_wdog()
-
 #endif
index cc46dcc..bf86dca 100644 (file)
@@ -42,4 +42,3 @@ static inline void flush(void)
 }
 
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 7b28d6a..5f02d06 100644 (file)
@@ -53,5 +53,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-
-#define arch_decomp_wdog()
index a91b605..7a030b9 100644 (file)
@@ -51,4 +51,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 3a0ff90..f49c291 100644 (file)
@@ -101,4 +101,3 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
 }
 
 #define arch_decomp_setup()    __arch_decomp_setup(arch_id)
-#define arch_decomp_wdog()
index 2c5cdd7..5c8ae9b 100644 (file)
@@ -34,4 +34,3 @@ static void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 3204150..ab64bea 100644 (file)
@@ -42,4 +42,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index d64274f..d2afb4d 100644 (file)
@@ -86,5 +86,3 @@ static void arch_decomp_setup(void)
 {
        ethernet_reset();
 }
-
-#define arch_decomp_wdog()
index 5dfa442..a69398c 100644 (file)
@@ -35,4 +35,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 0efa262..02e2256 100644 (file)
@@ -39,6 +39,4 @@ static inline void flush(void)
  */
 #define arch_decomp_setup()
 
-#define arch_decomp_wdog()
-
 #endif /* __MACH_UNCOMPRESS_H */
index d662323..43e343c 100644 (file)
@@ -32,6 +32,5 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
 
 #endif
index 30452f0..8f3cc99 100644 (file)
@@ -46,5 +46,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-
-#define arch_decomp_wdog()
index fa4f805..d3791ec 100644 (file)
@@ -20,4 +20,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 4fd7154..b3d45fd 100644 (file)
@@ -36,4 +36,3 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
  * nothing to do
  */
 #define arch_decomp_setup()    __arch_decomp_setup(arch_id)
-#define arch_decomp_wdog()
index f99bb84..ed282e1 100644 (file)
@@ -34,4 +34,3 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
  * nothing to do
  */
 #define arch_decomp_setup()    __arch_decomp_setup(arch_id)
-#define arch_decomp_wdog()
index eb945a9..7b25c02 100644 (file)
@@ -53,6 +53,4 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
  */
 #define arch_decomp_setup()    __arch_decomp_setup(arch_id)
 
-#define arch_decomp_wdog()
-
 #endif
index 75d5497..5bca553 100644 (file)
@@ -44,4 +44,3 @@ static void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 8879d61..c089a1a 100644 (file)
@@ -32,6 +32,5 @@ static inline void flush(void)
 }
 
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
 
 #endif
index c142487..1198a89 100644 (file)
@@ -55,6 +55,5 @@ static inline void flush(void)
 
 /* NULL functions; we don't presently need them */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
 
 #endif
index d6daeb7..8890fa8 100644 (file)
@@ -43,9 +43,3 @@ static inline void arch_decomp_setup(void)
        if (machine_is_avengers_lite())
                UART = (unsigned long *)UART3_BASE;
 }
-
-/*
- * nothing to do
- */
-
-#define arch_decomp_wdog()
index c14011f..fa97a10 100644 (file)
@@ -60,8 +60,4 @@ static inline void arch_decomp_setup(void)
 {
 }
 
-static inline void arch_decomp_wdog(void)
-{
-}
-
 #endif
index 3652642..6a761c4 100644 (file)
@@ -44,4 +44,3 @@ static void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index ef28114..533f518 100644 (file)
@@ -72,6 +72,5 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
 }
 
 #define arch_decomp_setup()    __arch_decomp_setup(arch_id)
-#define arch_decomp_wdog()
 
 #endif /* __MACH_MXS_UNCOMPRESS_H__ */
index 84f9128..5cb1051 100644 (file)
@@ -73,4 +73,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 7d4687e..f527af6 100644 (file)
@@ -58,6 +58,4 @@ static inline void arch_decomp_setup(void)
 {
 }
 
-#define arch_decomp_wdog() /* nothing to do here */
-
 #endif /* __ASM_ARCH_UNCOMPRESS_H */
index ad6fbe7..4869633 100644 (file)
@@ -115,8 +115,3 @@ static inline void arch_decomp_setup(void)
                DEBUG_LL_OMAP1(3, sx1);
        } while (0);
 }
-
-/*
- * nothing to do
- */
-#define arch_decomp_wdog()
index 8e3546d..7b360ac 100644 (file)
@@ -169,8 +169,3 @@ static inline void arch_decomp_setup(void)
                DEBUG_LL_AM33XX(1, am335xevm);
        } while (0);
 }
-
-/*
- * nothing to do
- */
-#define arch_decomp_wdog()
index 4322dba..abd26b5 100644 (file)
@@ -46,4 +46,3 @@ static void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 0c898fc..f72ca26 100644 (file)
@@ -17,8 +17,6 @@ void arch_decomp_setup(void)
 {
 }
 
-#define arch_decomp_wdog()
-
 static __inline__ void putc(char c)
 {
        /*
index 5519a34..8c27757 100644 (file)
@@ -72,8 +72,3 @@ static inline void arch_decomp_setup(void)
                uart_is_pxa = 0;
        }
 }
-
-/*
- * nothing to do
- */
-#define arch_decomp_wdog()
index 8305037..cfa30d2 100644 (file)
@@ -75,4 +75,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 9cd9bcd..0fd4b0b 100644 (file)
@@ -189,8 +189,3 @@ static void arch_decomp_setup(void)
        if (nr_pages * page_size < 4096*1024) error("<4M of mem\n");
 }
 #endif
-
-/*
- * nothing to do
- */
-#define arch_decomp_wdog()
index 5cf71da..73093dc 100644 (file)
@@ -49,4 +49,3 @@ static inline void flush(void)
  * Nothing to do for these
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 22ccab4..a168435 100644 (file)
@@ -48,4 +48,3 @@ static void putr()
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 0bd7556..f1aee56 100644 (file)
@@ -16,6 +16,4 @@ static void arch_decomp_setup(void)
 {
 }
 
-#define arch_decomp_wdog()
-
 #endif /* __ASM_MACH_UNCOMPRESS_H */
index 485003f..0838641 100644 (file)
@@ -172,8 +172,4 @@ static inline void arch_decomp_setup(void)
        uart[UART_LCR << DEBUG_UART_SHIFT] = 3;
 }
 
-static inline void arch_decomp_wdog(void)
-{
-}
-
 #endif
index 29acb71..783e7e6 100644 (file)
@@ -43,4 +43,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index d60ecd1..36969d5 100644 (file)
@@ -54,6 +54,4 @@ static inline void arch_decomp_setup(void)
        ux500_uart_base = (void __iomem *)U8500_UART2_BASE;
 }
 
-#define arch_decomp_wdog() /* nothing to do here */
-
 #endif /* __ASM_ARCH_UNCOMPRESS_H */
index 3dd0048..986e3d3 100644 (file)
@@ -43,4 +43,3 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index e6e81fd..5b4f19e 100644 (file)
@@ -34,4 +34,3 @@ static void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
index 0313021..4b7c324 100644 (file)
@@ -24,8 +24,6 @@
 #include <mach/map.h>
 #include <linux/serial_reg.h>
 
-#define arch_decomp_wdog()
-
 #define TX_DONE        (UART_LSR_TEMT | UART_LSR_THRE)
 static volatile u32 * const uart_base = (u32 *)UART0_PA;
 
index 2ce6cb1..51b2dc9 100644 (file)
@@ -38,6 +38,5 @@ static inline void flush(void)
  * nothing to do
  */
 #define arch_decomp_setup()
-#define arch_decomp_wdog()
 
 #endif /* __PLAT_UNCOMPRESS_H */