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: 1198231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 40C4A3FC4C for ; Sat, 14 Jul 2012 20:54:16 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sq9I7-0004el-DD; Sat, 14 Jul 2012 20:50:15 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sq9Hw-0004e3-SN for linux-arm-kernel@lists.infradead.org; Sat, 14 Jul 2012 20:50:05 +0000 Received: by wibhm11 with SMTP id hm11so1249885wib.0 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 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) X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (cavokz[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-omap@vger.kernel.org, Russell King - ARM Linux , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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(-) 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 */