ARM: tegra: cardhu: Fix unused variable warnings
Scott Williams [Fri, 20 Jan 2012 22:41:59 +0000 (14:41 -0800)]
Reviewed-on: http://git-master/r/76691

Change-Id: I0134c46c5fceb1ee863f97a6b6e1aed9608b842f
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77739
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0601721d6ba0d6768d112822cbc27834bda7d4b9

arch/arm/mach-tegra/board-cardhu.c

index d1db516..6a0883c 100644 (file)
@@ -1154,14 +1154,6 @@ static void __init tegra_cardhu_init(void)
 #endif
 }
 
-static void __init cardhu_ramconsole_reserve(unsigned long size)
-{
-       struct resource *res;
-       long ret;
-
-       tegra_ram_console_debug_reserve(SZ_1M);
-}
-
 static void __init tegra_cardhu_reserve(void)
 {
 #if defined(CONFIG_NVMAP_CONVERT_CARVEOUT_TO_IOVMM)
@@ -1170,7 +1162,7 @@ static void __init tegra_cardhu_reserve(void)
 #else
        tegra_reserve(SZ_128M, SZ_8M, SZ_8M);
 #endif
-       cardhu_ramconsole_reserve(SZ_1M);
+       tegra_ram_console_debug_reserve(SZ_1M);
 }
 
 MACHINE_START(CARDHU, "cardhu")