From patchwork Tue Aug 1 12:01:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 109140 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1404333qge; Tue, 1 Aug 2017 05:02:08 -0700 (PDT) X-Received: by 10.84.236.13 with SMTP id q13mr20900213plk.324.1501588928029; Tue, 01 Aug 2017 05:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501588928; cv=none; d=google.com; s=arc-20160816; b=CApKu/uN4KvbEYgDekEBksmJXnGQ42zk3AEUcMzIZKMlRO4OhtYsVEOwhfAh9nWPv5 HJwN5rZooXH5k+R8aawA49ayvVYfHSU/IsEp+kOixoPBaxcSfNzzmcxIapozR3fDh0PA dGAfQ6BvPoPNSqqrcYQvAXe9yGJrjh3paOBDi7NT6FNX13IBGF6wetevFj56Rndk4scr VcVsps421KQkR2zx3DK2cSwWBVjFgAjOGSkauI4ne1PpQkfCzECfkFRUaVt/fQd3qqyM mSeVEInpwN72eKCFU1DXskFWXeMp17zvUpGJ6iiPiu/I19+iKc6k/Gn2Rm9pa/Po5i1t pWlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=NO/gE8NjEbNpXlwCdfvw/qoD3Wh/Ds3tZ0SyjJDsJt8=; b=mqOcKn+qzmoLvndjMhAgO0qgxhX2HJcBaoPDuYRLOL9YQO+hhK8Fh9wpN+i571AOrR Xt5wDTjF5zXFZuv7AIygLeO133dk35C8xxVy75PlQSwXq0BezfvLH+NLQ5rq3Vhd+ghU 3N0Un4CgnejmDGth3nlZYUWDs2z0ZXbKdJv+qO69ZnPoadd582iRlCThb8O6gVvlIo+Q HczGO7EuSXUwjAXqrL6H7q8O9oojTVc4u+VQRcQwktA1bx5Ii6uWXgv/fN1l8XmgqhKA sFN3B/E72wVaLinp+nA0GzIn1hycOp9OOQ7d84XqrE1c/4t6jN0FUgmf8ZEIEyC/DPOg V9HA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si19541460pln.457.2017.08.01.05.02.07; Tue, 01 Aug 2017 05:02:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752034AbdHAMCE (ORCPT + 26 others); Tue, 1 Aug 2017 08:02:04 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:49465 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbdHAMCD (ORCPT ); Tue, 1 Aug 2017 08:02:03 -0400 Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lsdqf-1dWDFp0Eyf-012Hcy; Tue, 01 Aug 2017 14:01:52 +0200 From: Arnd Bergmann To: Andrew Morton , Michal Hocko Cc: Arnd Bergmann , Stephen Rothwell , Hugh Dickins , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] fs, proc: remove unused variable Date: Tue, 1 Aug 2017 14:01:20 +0200 Message-Id: <20170801120150.1520051-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170801152244.0a19eeb4@canb.auug.org.au> References: <20170801152244.0a19eeb4@canb.auug.org.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-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The last cleanup can go a little further, as shown by this warning: fs/proc/task_mmu.c: In function 'show_map_vma': fs/proc/task_mmu.c:285:28: error: unused variable 'priv' [-Werror=unused-variable] Fixes: 14ccc3193225 ("fs, proc: remove priv argument from is_stack") Signed-off-by: Arnd Bergmann --- fs/proc/task_mmu.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 9782dedeead7..186e907187ab 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -282,7 +282,6 @@ show_map_vma(struct seq_file *m, struct vm_area_struct *vma, int is_pid) { struct mm_struct *mm = vma->vm_mm; struct file *file = vma->vm_file; - struct proc_maps_private *priv = m->private; vm_flags_t flags = vma->vm_flags; unsigned long ino = 0; unsigned long long pgoff = 0;