Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2067990imc; Tue, 12 Mar 2019 06:29:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcJ6WuuGMiTKfkqNsHzIuy9tAR3REBsx5NaPWZRwaq2XGV0dgWI54CXILuj0W5XrqmqRkj X-Received: by 2002:a62:138f:: with SMTP id 15mr38531659pft.219.1552397388979; Tue, 12 Mar 2019 06:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552397388; cv=none; d=google.com; s=arc-20160816; b=EDRePi4LBwg+h858gWWNLHnx+dRBbRyMsZqodLfvtXSXoSRXnN4+ZZJMYqLvO2+GLt rAP3h4/wYd91CXhto1IYmOpDbFuDJPERX/iDQWdxkUYnDB0rjp5SnGvfSNS1omXvd/59 tsZ358o2Cyz5sIZwUAK2zArM2AWpFlqLAdMvlCVPIHD9RYqtuPzLS0a5frRvLrRVFDTa 3/rp8h+DQA3sMpx4IgAR/qtrRbGjOSjprDD3R4PjSVKP8VoEebwsWb6eM2zItwvSDQoD wi85ACkYuw9o6/Kf3RlSs5sg8Nt1cdXp2boIXjaOqeui6QMGKgGtgNDG15HKVXl5SNUq 544w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sXUXVXlvAdVAFUbmGrPp3Y++cwC7YAn6ufejqo4y85E=; b=mrXAXbPIzkme9X5syueuiFXS5XrHiA1zIvgflaN6DUsbkAgwY+IYV14EjsxpR954CZ WZWVSNenpzVsBzvulkWdmJrma0MAfjEWp1aVqqEDQzE4belVQKeKHV8KAg76PgGpVKFg 6opqMzbho8gqhIHnoyRqfb/YTIl1tXJrUmbZEN7AmHOkNP3SBVDwpFzxjZ+ptuzseu2o VtBDEkGK/MN3NLKRim8F0TDHV7hkXIGcsyB2x59qTR6w/7AV5TC92JgmsO4ZnFLoyGsf OUww5vS4VCHjy8ekeCLnOlu2XEbo9FskuXI2yCporyQnVzhfCD4zYvNg32xI4jXQ08E/ aZdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=GxwhhnRw; 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 r4si7631941plo.416.2019.03.12.06.29.32; Tue, 12 Mar 2019 06:29:48 -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; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=GxwhhnRw; 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 S1726521AbfCLN3L (ORCPT + 99 others); Tue, 12 Mar 2019 09:29:11 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44657 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfCLN3L (ORCPT ); Tue, 12 Mar 2019 09:29:11 -0400 Received: by mail-wr1-f66.google.com with SMTP id w2so2682452wrt.11 for ; Tue, 12 Mar 2019 06:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sXUXVXlvAdVAFUbmGrPp3Y++cwC7YAn6ufejqo4y85E=; b=GxwhhnRwAI0mQHn3+AajPHEAD5qHfVqJPCTFDxTXDwSUADjGv7hxGYdhiKXd2O8MO0 TRdtTKDgC6x3/Z7AgmZZ854ynfWnJ+6gsJ+3qJmsmWRsf/GJugTYGWiw3RjAil6zBpSz bZpwn2umdbdREZOzE0WZsYyh/4TPyBPdk4kDzGFOpUWQ761lw2uDkl1iPuCOed6c4fhj xRdMVASza2YeZE07e76lkq+ogwY7yQteiyuIco6P1GFnkMX5yfOFy/P5xnxFpYB2qbrc 2ftNr64IrwKUk33E9RD9x7cVG+Npzw1AhW1DoUzQJIXXiRWIkc3up6Ze6dU0UCC7C6ch lcCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sXUXVXlvAdVAFUbmGrPp3Y++cwC7YAn6ufejqo4y85E=; b=t56xdhXAJAeprhiZ0jJEdYLba1EAsLX+V85s7jDB2md0yQ2eYM7Swijrd7R7gKpsWa Li+RGgiXmG/ZOwn2whlNuK+0HIKI5G1gmdL6PiwNYHwtb47xUFXiaj0vtgPA+sqTlKFk HDBmHKutzgqBKQlD9H3WdtEJwk9nUZAS0DlFT95pdkmdkZQ5CYT3KCIL+bisLFGpAWmO i0mTPM9/vgMhhJ3Z1oHKj81dhq3QY7p20pScoEG355r/kis7r19Ptfz0d+VsKWNtGyz+ kv+SjJN/lQlkoLH4W3DNTnZqGlmOSNsL7AcZb3JkcBg7xcf5D7EsRi+WavrtEBhlyL9j IpGw== X-Gm-Message-State: APjAAAU9EWQ4OIfVS6nIu5CxtvsPq3aajyjRQPgfc3HkpSzPQlg2a5QX 8bGKhyFRCnIjM1QfJ2A8JF1LLg== X-Received: by 2002:a5d:5386:: with SMTP id d6mr22774771wrv.104.1552397349635; Tue, 12 Mar 2019 06:29:09 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-27-140.w90-86.abo.wanadoo.fr. [90.86.252.140]) by smtp.gmail.com with ESMTPSA id d9sm19953173wrn.72.2019.03.12.06.29.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Mar 2019 06:29:08 -0700 (PDT) From: Bartosz Golaszewski To: Andrew Morton , Anthony Yznaga , Khalid Aziz , "Aneesh Kumar K . V" , =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH] mm: remove unused variable Date: Tue, 12 Mar 2019 14:28:52 +0100 Message-Id: <20190312132852.20115-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski The mm variable is set but unused. Remove it. Signed-off-by: Bartosz Golaszewski --- mm/mprotect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/mprotect.c b/mm/mprotect.c index 028c724dcb1a..130dac3ad04f 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@ -39,7 +39,6 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd, unsigned long addr, unsigned long end, pgprot_t newprot, int dirty_accountable, int prot_numa) { - struct mm_struct *mm = vma->vm_mm; pte_t *pte, oldpte; spinlock_t *ptl; unsigned long pages = 0; -- 2.20.1