提交 a31ccfd6 编写于 作者: H Heiko Stuebner 提交者: Kukjin Kim

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: NHeiko Stuebner <heiko@sntech.de>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 4b687170
...@@ -240,7 +240,6 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size) ...@@ -240,7 +240,6 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size)
} else { } else {
samsung_cpu_id = s3c24xx_read_idcode_v4(); samsung_cpu_id = s3c24xx_read_idcode_v4();
} }
s3c24xx_init_cpu();
s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids));
......
...@@ -28,13 +28,6 @@ unsigned int samsung_rev(void) ...@@ -28,13 +28,6 @@ unsigned int samsung_rev(void)
} }
EXPORT_SYMBOL(samsung_rev); EXPORT_SYMBOL(samsung_rev);
void __init s3c24xx_init_cpu(void)
{
/* nothing here yet */
samsung_cpu_rev = 0;
}
void __init s3c64xx_init_cpu(void) void __init s3c64xx_init_cpu(void)
{ {
samsung_cpu_id = __raw_readl(S3C_VA_SYS + 0x118); samsung_cpu_id = __raw_readl(S3C_VA_SYS + 0x118);
......
...@@ -199,7 +199,6 @@ extern void s5p_init_irq(u32 *vic, u32 num_vic); ...@@ -199,7 +199,6 @@ extern void s5p_init_irq(u32 *vic, u32 num_vic);
extern void s3c24xx_init_io(struct map_desc *mach_desc, int size); extern void s3c24xx_init_io(struct map_desc *mach_desc, int size);
extern void s3c24xx_init_cpu(void);
extern void s3c64xx_init_cpu(void); extern void s3c64xx_init_cpu(void);
extern void s5p_init_cpu(void __iomem *cpuid_addr); extern void s5p_init_cpu(void __iomem *cpuid_addr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册