diff options
author | Domenico Andreoli <domenico.andreoli@linux.com> | 2012-07-14 22:49:54 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-08-07 03:57:59 -0700 |
commit | 128aa925ee7e9aa84943ce64df48192b92a81767 (patch) | |
tree | 629cd4b5b02371d8d1421c921c46725b580fa00a | |
parent | 8aeff82fabe818bbd755c74ce829ea5a4d89b5c0 (diff) | |
download | blackbird-op-linux-128aa925ee7e9aa84943ce64df48192b92a81767.tar.gz blackbird-op-linux-128aa925ee7e9aa84943ce64df48192b92a81767.zip |
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.h | 4 |
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 b8d19a136781..7f7b112acccb 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 */ |