From patchwork Fri Nov 9 11:42:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1720161 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 5BBBA3FCDF for ; Fri, 9 Nov 2012 11:50:13 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TWn42-0006WS-6t; Fri, 09 Nov 2012 11:47:58 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TWn3y-0006W3-8S for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2012 11:47:54 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa7so2587255pbc.36 for ; Fri, 09 Nov 2012 03:47:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=CSTmfBAm59yWHmODrgSWHGDkv5RQO3GTlL4cDHbc9fw=; b=HdC86v12onz/Swh0fKcimdSGNRa2e2phX1PYgNRcen6YBlqvVFZTmExo/chyteSKsf IknPyt8MjhFkNbC3GHAt9ZQIZ6pfnJigf75n7fqfc4Xf6+3aSP/nTECuYTgW2M4SStvR mjCksXiwrY2hAUJgpR3SSygiKp2EPNV+O/KHYoBUXquRR2bmc4nuDPMnObP29nf4gceO f4+3EcRz0atyXQIUQlFByq44Vt7XAToba/yUNPIa8eGecvQ5dzK8levGZ7yNlsDZzwRO E+K//pQFrBrKKAmiVMGwApjGtnCbh0lABGgpWXTMyajCCWgA5LkLkmI9r3KL+ymVxxQa e9dg== Received: by 10.66.84.36 with SMTP id v4mr24793460pay.37.1352461669213; Fri, 09 Nov 2012 03:47:49 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id nf9sm17219850pbc.17.2012.11.09.03.47.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 03:47:48 -0800 (PST) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: mm: Remove unused variable in mmap.c Date: Fri, 9 Nov 2012 17:12:00 +0530 Message-Id: <1352461320-22031-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkQGinbOFqZ4qnxQoYzlxR5HFmgiLDk2IDqJxqeT/Y7iWeXLeoYIxSfntYYPBWOjkX2mZWO X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121109_064754_443320_EDA1ED92 X-CRM114-Status: GOOD ( 11.95 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: sachin.kamat@linaro.org, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, arnd@arndb.de, patches@linaro.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 Variable 'start_addr' is not used and hence can be removed. Silences the following compilation warning: arch/arm/mm/mmap.c: In function ‘arch_get_unmapped_area’: arch/arm/mm/mmap.c:60:16: warning: unused variable ‘start_addr’ [-Wunused-variable] Signed-off-by: Sachin Kamat --- This patch is based linux-next tree of 20121109 --- arch/arm/mm/mmap.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index f4fec6d..10062ce 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -57,7 +57,6 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, { struct mm_struct *mm = current->mm; struct vm_area_struct *vma; - unsigned long start_addr; int do_align = 0; int aliasing = cache_is_vipt_aliasing(); struct vm_unmapped_area_info info;