From patchwork Sat Jul 14 20:49:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Domenico Andreoli X-Patchwork-Id: 1198221 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7ED0A3FC4C for ; Sat, 14 Jul 2012 20:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890Ab2GNUt7 (ORCPT ); Sat, 14 Jul 2012 16:49:59 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:59831 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917Ab2GNUt6 (ORCPT ); Sat, 14 Jul 2012 16:49:58 -0400 Received: by wibhr14 with SMTP id hr14so1633219wib.1 for ; Sat, 14 Jul 2012 13:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :mime-version:content-type:content-disposition:user-agent; bh=AHr/SsxkCSigM7RVqhPxTrt/LK9oa+nrhSwFO1LadyU=; b=JLcQGIKcZjdnLnnjo3Gy8PGMWl+0ZzH9Z609aBHTo4j46Pjj1BjEiRA5s4kGp5MtI5 bv7W8OKwyhqap3HolgKYkYVedS6qQ3Nd/PgbXuTnvA+rotDrLE9q99OZDDc5CrmMtLPd eLgwPL5C9RqdBG5IfUuviuLCMkWBZha84FZJu/H3yNGJo9okWqCCwhqucmR0fz3EkQfU Kfn1fEHZHwrI44yMnUFc62GCgh6oOdpoV7gOHIIYB/xA0tJmFCkdtJkrzr16qTpKU5Rw HNxWHgv8LMHMuhZLwVddjbrsrK5N1k+YJQ9yRS/jlihKA2AQ7L/e212LfbRTgmHIIqzu vHHw== Received: by 10.216.81.7 with SMTP id l7mr3384619wee.23.1342298996948; Sat, 14 Jul 2012 13:49:56 -0700 (PDT) Received: from raptus.dandreoli.com (178-85-163-250.dynamic.upc.nl. [178.85.163.250]) by mx.google.com with ESMTPS id bc2sm17221726wib.0.2012.07.14.13.49.55 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Jul 2012 13:49:56 -0700 (PDT) Received: by raptus.dandreoli.com (Postfix, from userid 1000) id C4A5137B201; Sat, 14 Jul 2012 22:49:54 +0200 (CEST) Date: Sat, 14 Jul 2012 22:49:54 +0200 From: Domenico Andreoli To: Tony Lindgren Cc: Russell King - ARM Linux , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] OMAP: remove unused parameter arch_id from uncompress.h Message-ID: <20120714204952.GA4798@raptus.dandreoli.com> Mail-Followup-To: Tony Lindgren , Russell King - ARM Linux , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Domenico Andreoli 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 --- arch/arm/plat-omap/include/plat/uncompress.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 */