diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-02-13 17:17:53 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-02-13 17:17:53 -0500 |
commit | a31ccfd626cd93267066af477b0ccf93f9308401 (patch) | |
tree | 958bbeaea690af7b59551f9224717ad0901fb57d | |
parent | 4b687170846639eb8d79866e1c09462278c9784a (diff) |
ARM: SAMSUNG: remove unneeded s3c24xx_init_cpu()
The function is nearly empty and samsung_cpu_rev is static
so already 0 making the function obsolete, therefore remove
it.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c24xx/common.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/cpu.c | 7 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/cpu.h | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index 4adaa4b43ffe..4aa76b0a50e2 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c | |||
@@ -240,7 +240,6 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size) | |||
240 | } else { | 240 | } else { |
241 | samsung_cpu_id = s3c24xx_read_idcode_v4(); | 241 | samsung_cpu_id = s3c24xx_read_idcode_v4(); |
242 | } | 242 | } |
243 | s3c24xx_init_cpu(); | ||
244 | 243 | ||
245 | s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); | 244 | s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); |
246 | 245 | ||
diff --git a/arch/arm/plat-samsung/cpu.c b/arch/arm/plat-samsung/cpu.c index 46b426e8aff5..364963a0a344 100644 --- a/arch/arm/plat-samsung/cpu.c +++ b/arch/arm/plat-samsung/cpu.c | |||
@@ -28,13 +28,6 @@ unsigned int samsung_rev(void) | |||
28 | } | 28 | } |
29 | EXPORT_SYMBOL(samsung_rev); | 29 | EXPORT_SYMBOL(samsung_rev); |
30 | 30 | ||
31 | void __init s3c24xx_init_cpu(void) | ||
32 | { | ||
33 | /* nothing here yet */ | ||
34 | |||
35 | samsung_cpu_rev = 0; | ||
36 | } | ||
37 | |||
38 | void __init s3c64xx_init_cpu(void) | 31 | void __init s3c64xx_init_cpu(void) |
39 | { | 32 | { |
40 | samsung_cpu_id = __raw_readl(S3C_VA_SYS + 0x118); | 33 | samsung_cpu_id = __raw_readl(S3C_VA_SYS + 0x118); |
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 335beb341355..31164b34d4c4 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h | |||
@@ -199,7 +199,6 @@ extern void s5p_init_irq(u32 *vic, u32 num_vic); | |||
199 | 199 | ||
200 | extern void s3c24xx_init_io(struct map_desc *mach_desc, int size); | 200 | extern void s3c24xx_init_io(struct map_desc *mach_desc, int size); |
201 | 201 | ||
202 | extern void s3c24xx_init_cpu(void); | ||
203 | extern void s3c64xx_init_cpu(void); | 202 | extern void s3c64xx_init_cpu(void); |
204 | extern void s5p_init_cpu(void __iomem *cpuid_addr); | 203 | extern void s5p_init_cpu(void __iomem *cpuid_addr); |
205 | 204 | ||