From patchwork Wed Nov 14 05:24:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1737771 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 498FBDF264 for ; Wed, 14 Nov 2012 05:24:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750937Ab2KNFY0 (ORCPT ); Wed, 14 Nov 2012 00:24:26 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:60049 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765Ab2KNFY0 (ORCPT ); Wed, 14 Nov 2012 00:24:26 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so50112pad.19 for ; Tue, 13 Nov 2012 21:24:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=hb2WhXI1QKKUjqdTMXqmGoXzcXFAjia/1pZsOU9j13Y=; b=HttW0WfcQy60pf4EyQPEsq5FhK0QsNzp+KynAdNvZpmHpRqgAbKevB+X3c293lJ9ph Idyf3sCLoa48P8VkA1J57li6RKp1PhTGa9p71CbtUXfv255WZ2JArNTSOEA1921nygC/ qQBh4FD+jrW4dNIV44NlGZZWxmj88crxBiKIu4O9kU88sjNHAOdgP75TGjkz7z3yyiEm Pf14zqeWv9F+stYKf02qFIJDfgTmBxYsn5p5ch9iycu+vQTXDz6or7nbRHuX+GpVWV+E Y05i+SAgWeiEFbCnFDvLdCCZtztmaPnreJSbAQRl4EtU0Jp4DQX4FjG2A9Q1sWca8auD Issg== Received: by 10.68.196.170 with SMTP id in10mr75525854pbc.0.1352870665289; Tue, 13 Nov 2012 21:24:25 -0800 (PST) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPS id tm8sm7142570pbc.48.2012.11.13.21.24.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 21:24:24 -0800 (PST) From: Nobuhiro Iwamatsu To: linux-sh@vger.kernel.org Cc: lethal@linux-sh.org, Nobuhiro Iwamatsu Subject: [PATCH] sh: Remove start_addr of unused variable Date: Wed, 14 Nov 2012 14:24:16 +0900 Message-Id: <1352870656-11376-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmOPQaNwHlkLFPFMJPMBrxQrj2XFZbY4cwkmzwS32v4bHrqYuwPhMR/flPKlS1WZMDV6YHl Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org This revises compile error following. ---- cc1: warnings being treated as errors arch/sh/mm/mmap.c: In function 'arch_get_unmapped_area': arch/sh/mm/mmap.c:38: error: unused variable 'start_addr' make[1]: *** [arch/sh/mm/mmap.o] Error 1 make: *** [arch/sh/mm] Error 2 ---- Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/mm/mmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/mm/mmap.c b/arch/sh/mm/mmap.c index cb2d66f..6777177 100644 --- a/arch/sh/mm/mmap.c +++ b/arch/sh/mm/mmap.c @@ -35,7 +35,6 @@ unsigned long 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_colour_align; struct vm_unmapped_area_info info;