Commit 128aa925 authored by Domenico Andreoli's avatar Domenico Andreoli Committed by Tony Lindgren

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: default avatarDomenico Andreoli <domenico.andreoli@linux.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8aeff82f
...@@ -110,7 +110,7 @@ static inline void flush(void) ...@@ -110,7 +110,7 @@ static inline void flush(void)
_DEBUG_LL_ENTRY(mach, AM33XX_UART##p##_BASE, OMAP_PORT_SHIFT, \ _DEBUG_LL_ENTRY(mach, AM33XX_UART##p##_BASE, OMAP_PORT_SHIFT, \
AM33XXUART##p) AM33XXUART##p)
static inline void __arch_decomp_setup(unsigned long arch_id) static inline void arch_decomp_setup(void)
{ {
int port = 0; int port = 0;
...@@ -198,8 +198,6 @@ static inline void __arch_decomp_setup(unsigned long arch_id) ...@@ -198,8 +198,6 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
} while (0); } while (0);
} }
#define arch_decomp_setup() __arch_decomp_setup(arch_id)
/* /*
* nothing to do * nothing to do
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment