linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OMAP: remove unused parameter arch_id from uncompress.h
@ 2012-07-14 20:49 Domenico Andreoli
  2012-08-07  7:38 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Domenico Andreoli @ 2012-07-14 20:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Domenico Andreoli <domenico.andreoli@linux.com>

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>
---
 arch/arm/plat-omap/include/plat/uncompress.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: b/arch/arm/plat-omap/include/plat/uncompress.h
===================================================================
--- a/arch/arm/plat-omap/include/plat/uncompress.h
+++ b/arch/arm/plat-omap/include/plat/uncompress.h
@@ -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
  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] OMAP: remove unused parameter arch_id from uncompress.h
  2012-07-14 20:49 [PATCH] OMAP: remove unused parameter arch_id from uncompress.h Domenico Andreoli
@ 2012-08-07  7:38 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2012-08-07  7:38 UTC (permalink / raw)
  To: linux-arm-kernel

* Domenico Andreoli <cavokz@gmail.com> [120714 13:54]:
> From: Domenico Andreoli <domenico.andreoli@linux.com>
> 
> 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.

Thanks applying into fixes.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-07  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-14 20:49 [PATCH] OMAP: remove unused parameter arch_id from uncompress.h Domenico Andreoli
2012-08-07  7:38 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).