Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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
 */