summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomenico Andreoli <domenico.andreoli@linux.com>2012-07-14 20:49:54 (GMT)
committerTony Lindgren <tony@atomide.com>2012-08-07 10:57:59 (GMT)
commit128aa925ee7e9aa84943ce64df48192b92a81767 (patch)
tree629cd4b5b02371d8d1421c921c46725b580fa00a
parent8aeff82fabe818bbd755c74ce829ea5a4d89b5c0 (diff)
downloadlinux-128aa925ee7e9aa84943ce64df48192b92a81767.tar.xz
OMAP: remove unused parameter arch_id from uncompress.h
There is not point in having arch_id as parameter of __arch_decomp_setup(), nothing in it uses arch_id. The machine id is already exported (and used) with symbol __machine_arch_type as per mach-types.h. Removing the pointless macro as well. Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/plat-omap/include/plat/uncompress.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/uncompress.h b/arch/arm/plat-omap/include/plat/uncompress.h
index b8d19a1..7f7b112 100644
--- a/arch/arm/plat-omap/include/plat/uncompress.h
+++ b/arch/arm/plat-omap/include/plat/uncompress.h
@@ -110,7 +110,7 @@ static inline void flush(void)
_DEBUG_LL_ENTRY(mach, AM33XX_UART##p##_BASE, OMAP_PORT_SHIFT, \
AM33XXUART##p)
-static inline void __arch_decomp_setup(unsigned long arch_id)
+static inline void arch_decomp_setup(void)
{
int port = 0;
@@ -198,8 +198,6 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
} while (0);
}
-#define arch_decomp_setup() __arch_decomp_setup(arch_id)
-
/*
* nothing to do
*/