mirror of https://gitee.com/openkylin/linux.git
ARM: AM335x: Get rid of unused sram init function
Remove the empty am33xx_sram_init() function. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
d71c97e937
commit
0616f4eedd
|
@ -285,11 +285,6 @@ static inline int omap34xx_sram_init(void)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_ARCH_OMAP3 */
|
#endif /* CONFIG_ARCH_OMAP3 */
|
||||||
|
|
||||||
static inline int am33xx_sram_init(void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int __init omap_sram_init(void)
|
int __init omap_sram_init(void)
|
||||||
{
|
{
|
||||||
omap_detect_sram();
|
omap_detect_sram();
|
||||||
|
@ -299,8 +294,6 @@ int __init omap_sram_init(void)
|
||||||
omap242x_sram_init();
|
omap242x_sram_init();
|
||||||
else if (cpu_is_omap2430())
|
else if (cpu_is_omap2430())
|
||||||
omap243x_sram_init();
|
omap243x_sram_init();
|
||||||
else if (soc_is_am33xx())
|
|
||||||
am33xx_sram_init();
|
|
||||||
else if (cpu_is_omap34xx())
|
else if (cpu_is_omap34xx())
|
||||||
omap34xx_sram_init();
|
omap34xx_sram_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue