Received: by 10.223.164.202 with SMTP id h10csp1214305wrb; Wed, 15 Nov 2017 15:24:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMYugrkE2ncOba5oxRLP0DaWV/UFf71RlGqaA6p/B4y9PEBkQqCU5CMZcD/1HzV+PqcJqpr0 X-Received: by 10.84.196.3 with SMTP id k3mr17521842pld.237.1510788279351; Wed, 15 Nov 2017 15:24:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510788279; cv=none; d=google.com; s=arc-20160816; b=ePW4VqRHEYFXNrRIv95qI0bZ5VLbM5cwdjxI/ZhYZFm4zoJF5uGS6orLZGvZkGNGjb Kh2qt2ikfO0EysKIp0PYCeDXlD+aINhNE92f0dt93PLtItCubkLZ9wkN1z53Uv5SUzZF 5Xc4+QAzD6Zvk+jFHQeFZB7sQtEsMBaBU3l62ciqugDuYCvQZ8xZboYg5vC5d6mJwUo5 9UBr7GSu7TdYBBJCNfXejjoymDkcoC/pkU+x4+WOPpVNaLDyp1qnXAopMTbVQpl2UjIu yBd4urHVtaknbUk2G2ymB+ib+1OzvQ+rbK08aX/di3V8vz1HBqDZAf2ozgFjLICXl31J ma8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=BvPuepDfRkJUBSvNXamjCTPBAGMdVyIaUAAc83vDaJQ=; b=nYIScS5RS/uc/D1QCmpKayb28U6NVyv1We40IZkoiIH1i0xlcbTNhx4qHtqhAj2gky 5D30lYI4PVooYwjtKjp4DgGpe5D9oE7cLqptFBvXHI+PtxiPV/HCfzEWSRmdI4nNmGfI IEDMjab+iLiF0Dh8DYFzmF3v92Bs7+vDt3kNLnpSUrBpVwxjlOI50KOq3aD3NTRjrHUF snD3WMdE/5b8RE2nY9YkgHSJMlbcRZ02jccZATbVPpbOr/jAB4SscpGZs19NdI0MLmZF B5JYF6MiIw5q21MnfjAHzDZglkvA0Q/xfj/RY+MbLgSXT487CFoG5v/KvK6zsArs577/ Q0BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=q+BQ8l/g; 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 c8si18797904pgn.172.2017.11.15.15.24.26; Wed, 15 Nov 2017 15:24:39 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=q+BQ8l/g; 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 S1759090AbdKOT10 (ORCPT + 89 others); Wed, 15 Nov 2017 14:27:26 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39707 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757517AbdKOT1S (ORCPT ); Wed, 15 Nov 2017 14:27:18 -0500 Received: by mail-wm0-f66.google.com with SMTP id l8so5074123wmg.4 for ; Wed, 15 Nov 2017 11:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=BvPuepDfRkJUBSvNXamjCTPBAGMdVyIaUAAc83vDaJQ=; b=q+BQ8l/gK2ESEookXbkzLl/LL6dpu2wp+GZwF7h1Dt1Q+S1RbH2evkzHGR8LXrW/E2 R4T7XJlsvl80Pue+OnsN3JvDGPt58dhvpH6xYa4aZTwYBK1a+4//tbn7TR+hg12jaT9c lgqxxEtycBMt6I9cmZmgCGqpicjItPhwMtBxp/mJAwZtKbej2KH+Hc7l+8hG9Ie4IITC M2/31R59CjD+WsrhDs7R9CkuyfIbwIwm7yXqLaTkBRro5qq61E5EEJwTJczfG6Ci1o93 Ry5lcIJ6IDplGCfnH29PuOA9NQW55WdaoE/C1LwKE4JMHTl6JX7qM8ERpuZ5DO08GdNc nvkQ== 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; bh=BvPuepDfRkJUBSvNXamjCTPBAGMdVyIaUAAc83vDaJQ=; b=Zip+T8MUF9d9PBSwFm4/vZKshy0Fe1SMet9GJbxNGaDNStbx1M77TekJEYJgz6azgX fIbq+CiMaeqQXpAW6dNNlorHKAx/qyjMw2u4CmvdFeRBd3NUyZ4jNBQ5h44TbP1mDZDx HDu0p9zTXT9r8az/1M82dTELKGBYpmFfSr1vcVN/pNlphnHoKJi27Fp+iOqeBZphj2pd wQhCpSWJlAVxFeCoOFzYozupOkQz1MBfH8TyEptpa49eXSpk+8fI7gR2M4ln83f6TJ/3 KjkxAJIKyNyj4Y0w9OtvOEKaYCH7p6baD0n7yct4Glw2HgMxFhCU5Wvb+1qkbEfPS+be gAqw== X-Gm-Message-State: AJaThX41LTU0tKxlFA9TSlvyf9vIsDgnG1NkwqfdZ/9FC1aKNzcaWNKQ pPm6Z8b6Bj+a3uY6vfCTDh2ezw== X-Received: by 10.28.211.213 with SMTP id k204mr11107002wmg.68.1510774037713; Wed, 15 Nov 2017 11:27:17 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id r15sm8425582wrc.36.2017.11.15.11.27.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 11:27:17 -0800 (PST) From: Corentin Labbe To: hughd@google.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH] mm: shmem: remove unused info variable Date: Wed, 15 Nov 2017 19:27:09 +0000 Message-Id: <1510774029-30652-1-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fix the following build warning by simply removing the unused info variable. mm/shmem.c:3205:27: warning: variable 'info' set but not used [-Wunused-but-set-variable] Signed-off-by: Corentin Labbe --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/shmem.c b/mm/shmem.c index 544c105d706a..7fbe67be86fa 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -3202,7 +3202,6 @@ static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *s int len; struct inode *inode; struct page *page; - struct shmem_inode_info *info; len = strlen(symname) + 1; if (len > PAGE_SIZE) @@ -3222,7 +3221,6 @@ static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *s error = 0; } - info = SHMEM_I(inode); inode->i_size = len-1; if (len <= SHORT_SYMLINK_LEN) { inode->i_link = kmemdup(symname, len, GFP_KERNEL); -- 2.13.6 From 1584268716368968712@xxx Thu Nov 16 23:53:05 +0000 2017 X-GM-THRID: 1584259855602089087 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread