Skip to content

Commit

Permalink
ARM: AM335x: Get rid of unused sram init function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rajendra Nayak authored and Tony Lindgren committed Sep 18, 2014
1 parent d71c97e commit 0616f4e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-omap2/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,6 @@ static inline int omap34xx_sram_init(void)
}
#endif /* CONFIG_ARCH_OMAP3 */

static inline int am33xx_sram_init(void)
{
return 0;
}

int __init omap_sram_init(void)
{
omap_detect_sram();
Expand All @@ -299,8 +294,6 @@ int __init omap_sram_init(void)
omap242x_sram_init();
else if (cpu_is_omap2430())
omap243x_sram_init();
else if (soc_is_am33xx())
am33xx_sram_init();
else if (cpu_is_omap34xx())
omap34xx_sram_init();

Expand Down

0 comments on commit 0616f4e

Please sign in to comment.