Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1995924imu; Fri, 14 Dec 2018 04:14:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/WR+jGSmxq0+aj2o5Kx4+1QOPwSp8IKKtskageHT86jcnF6j43Igrq2Ha9CB8s9op86wdcE X-Received: by 2002:a17:902:e012:: with SMTP id ca18mr2655236plb.218.1544789667355; Fri, 14 Dec 2018 04:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789667; cv=none; d=google.com; s=arc-20160816; b=YX9lQc2I+qMgJRPK7lItqW4JaToRdXNB5lHb4QcHkre4+13VE5j75s1Looox6VEemP cYQHQplOBEQ3frpRGdqyqFslAFvAIm0cF+glirbUQloRUgf6VlTsIxRBMq3Afr4mxzuP kIJcwLoSbmaOzCPak7+pF9fuA+xFpg0uYzcRLRvR8e4FJLBU62SKmnNhLc0QUpYbeZGi Pd3upnmDbc1Yfw7VPu7f0UbvXkpUic7nqAQbjUl/hNBUJODrJv40FZ+AtJjkWxbfGv4r 1FsT+Pz5/tYws1KiRX4dIi/lSKgFhwqWbPIUyurlgBWlz+Uxz0X7OBJJHC9CGjz9LKqk qWdQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9EtOjpRaYgXmzJr0UvChuU7KQyWvseqGqQwJyOlVZds=; b=TGKQ7VNy8zzuOwM/bQy/Zw4ktJ12fq2Y5PHwX5koDbhf+6jAeIQ/wvLdtxr1M/EJhU b3CQFj+RUnFwIJd20ON6bQ7IvAa2epOKKWe9m0eBub+637yS5cfRrtppA6MdA6n3PGvB z0LUxA2LVLA1w1+7bv2MjohfBaSGyUbZMd5o4NrTyc3kaxe0CtWQEPaffAChvBiH/sqb Hvt4M/teBUd9k/wBM872apSLdW0CUGjci2M0jlBQKhatklFnRQ6rLT93MsX9zwmEKEJ9 kWLXcXThhwzFHcvTFszSoz8b+QhxZms5kpo6ZqtFvi6fFZa8JpWgxTcIMyVI1wLnt8gI 9RCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rV2xjbB5; 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 62si3800569pgi.314.2018.12.14.04.14.12; Fri, 14 Dec 2018 04:14:27 -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=@kernel.org header.s=default header.b=rV2xjbB5; 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 S1732115AbeLNMNX (ORCPT + 99 others); Fri, 14 Dec 2018 07:13:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:60926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730313AbeLNMNV (ORCPT ); Fri, 14 Dec 2018 07:13:21 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A08E2133F; Fri, 14 Dec 2018 12:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789600; bh=L53768I1l9Odszaco2KZ+QfazeXLZUI42s0Bt7hmSJ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rV2xjbB5aE9yOO/rMrdf7DcnZ6GlRCgbA6JaAP2ifWGQzJhztM13n+T4foKfsJCvV iTtlm04Ehk5fw4n+FE/AsBnAkN1i7GPah50DDSpSR6U8yPRuXUBQ9/uFy7clGaARI4 BbQ37EFjW9BwDH1BSFSFLE8zKg03S9eEUHKd+rAk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Colin Ian King , David Howells , Sasha Levin Subject: [PATCH 4.9 44/51] fscache, cachefiles: remove redundant variable cache Date: Fri, 14 Dec 2018 13:00:46 +0100 Message-Id: <20181214115717.043523704@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115713.244259772@linuxfoundation.org> References: <20181214115713.244259772@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 31ffa563833576bd49a8bf53120568312755e6e2 ] Variable 'cache' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'cache' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King Signed-off-by: David Howells Signed-off-by: Sasha Levin --- fs/cachefiles/rdwr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c index 8d43306c038b..799b59d96fe2 100644 --- a/fs/cachefiles/rdwr.c +++ b/fs/cachefiles/rdwr.c @@ -969,11 +969,8 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page) void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) { struct cachefiles_object *object; - struct cachefiles_cache *cache; object = container_of(_object, struct cachefiles_object, fscache); - cache = container_of(object->fscache.cache, - struct cachefiles_cache, cache); _enter("%p,{%lu}", object, page->index); -- 2.19.1