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: 12790 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E6EAA4C16A7 for ; Fri, 9 Nov 2012 11:47:50 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 95A2FA18F05 for ; Fri, 9 Nov 2012 11:47:50 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so5480390iej.11 for ; Fri, 09 Nov 2012 03:47:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=CSTmfBAm59yWHmODrgSWHGDkv5RQO3GTlL4cDHbc9fw=; b=lAzBXwhn2aJSuzVEMlDOC7Y8VAhGGh2OfPN2VOWAGlKvt9n4fitVD6ze0yj9EcmcVx 2rMW8svmqGxtrT5QujimW4rX55fZe9fbuuk/H8WpQ0Kk8EvLcNHjBOqU3nH6oHenFWfp osl5ZTbqkL34JloPbAJYZrW11EfXBF90aTT86R2qWYZB4ovYOOUKe2jQKeH6xobaKD+X 4iHjsxUMNm80MUpF6UeOuZGgFclmmaII+OrJNGbJnN0/InKG6WFwvwZ4PCT6vPqAuHKl I+PnH1E0Zi8zwteObGtKmsY+qf+Nz6DJYXtYYaMiprm28rNiMbqBEqc+ZK7y+OFEcMg2 a03Q== Received: by 10.50.91.195 with SMTP id cg3mr1017315igb.57.1352461670028; Fri, 09 Nov 2012 03:47:50 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp15900igt; Fri, 9 Nov 2012 03:47:49 -0800 (PST) Received: by 10.68.189.233 with SMTP id gl9mr32459927pbc.166.1352461669530; Fri, 09 Nov 2012 03:47:49 -0800 (PST) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx.google.com with ESMTPS id gk10si39343919pbc.356.2012.11.09.03.47.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 03:47:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pa0-f46.google.com with SMTP id hz1so2788641pad.33 for ; Fri, 09 Nov 2012 03:47:49 -0800 (PST) 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 Cc: linux-kernel@vger.kernel.org, linux@arm.linux.org.uk, arnd@arndb.de, sachin.kamat@linaro.org, patches@linaro.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: ALoCoQluBS7hWdhKXufWhyi4FioXcy89L77yIntUaBuvNdxxh9YLQppqc8EeJ42QX82bcZcS6+aQ 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;