OMAP: remove unused parameter arch_id from uncompress.h
Subsystems (2)
PATCH 1/1 OMAP: remove unused parameter arch_id from uncompress.h
From: Domenico Andreoli <[email protected]>
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 <[email protected]>
--- arch/arm/plat-omap/include/plat/uncompress.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/plat-omap/include/plat/uncompress.h +1 -3
@@ -103,7 +103,7 @@ static inline void flush(void) _DEBUG_LL_ENTRY(mach, TI81XX_UART##p##_BASE, OMAP_PORT_SHIFT, \ TI81XXUART##p) -static inline void __arch_decomp_setup (unsigned long arch_id) +static inline void arch_decomp_setup (void ) {int port =0 ;
@@ -186,8 +186,6 @@ static inline void __arch_decomp_setup(u }while (0 ); } -#define arch_decomp_setup () __arch_decomp_setup(arch_id) -/* * nothing to do */
PATCH 1/1 OMAP: remove unused parameter arch_id from uncompress.h
Quoted 7 lines · Domenico Andreoli
From: Domenico Andreoli <[email protected]>
There is not point in having
arch_idas parameter of__arch_decomp_setup(), nothing in it usesarch_id. The machine id is already exported (and used) with symbol__machine_arch_typeas permach-types.h.Removing the pointless macro as well.
Thanks applying into fixes.
Tony