summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/sram.c
diff options
context:
space:
mode:
authorRajendra Nayak2014-09-10 18:04:02 +0200
committerTony Lindgren2014-09-18 18:45:52 +0200
commit0616f4eeddd81a22f4a5f0cc09b0ad71b94404cf (patch)
treedf2a8fc7ef6715f60e423be72868188144544c0d /arch/arm/mach-omap2/sram.c
parentARM: omap2plus_defconfig: Enable some display features (diff)
downloadkernel-qcow2-linux-0616f4eeddd81a22f4a5f0cc09b0ad71b94404cf.tar.gz
kernel-qcow2-linux-0616f4eeddd81a22f4a5f0cc09b0ad71b94404cf.tar.xz
kernel-qcow2-linux-0616f4eeddd81a22f4a5f0cc09b0ad71b94404cf.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2/sram.c')
-rw-r--r--arch/arm/mach-omap2/sram.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/sram.c b/arch/arm/mach-omap2/sram.c
index ddf1818af228..5e45df0327bd 100644
--- a/arch/arm/mach-omap2/sram.c
+++ b/arch/arm/mach-omap2/sram.c
@@ -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();
@@ -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();