Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1997956imu; Fri, 14 Dec 2018 04:16:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/XXLAqHE+LXWXcztLVWd/Fbaat4qXxBP4gGJM/r4r2mrcPwJbquvCYWsGBOnZaZq42U5S// X-Received: by 2002:a62:8f8c:: with SMTP id n134mr2630499pfd.137.1544789765509; Fri, 14 Dec 2018 04:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789765; cv=none; d=google.com; s=arc-20160816; b=uNjDHGKNw2sD33nFfacryMEEFd0s5VwtGNaNVC4Bcm6CEXyZretMRDIvQ6cJzKN5sz mN3MeN+179Ok6g2aIpfFUNEYH+OMNEiRNLOlL+EIGfao7RBlcU6t1Cg7i1mSY59bwcgT ir/27EieS2gJGigr6Q1FujCCuRy91/tMMXWt3mlPOpjXNB5q1N9Mrl8pOnT2rlveAEXm lAehnXi93GwxzFAD++LvZf4+HKqbE4sH2M3uiySV+Nd2MK01TX6Tcx15m8K6IxVem3DO JkNuE+G2PUsXpJ2kP6OcJxJugYdKhyrNLgxzZXh2oN8UCVnhfFipNdgVmtq9uGSUlM25 TTYw== 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=26vgzM5NAy18Snej6ZZP+RW1AaP8FGRvwW/AA1GgObo=; b=sKsfzdoY8EKZyo0CUY/175gT3IL0O0rP0uO3p1DbsnBw1ZeVJLFPMxCbpfXHFezL3s kQ8Joy1LYUWosb3Ck6Vobh1j5fZkBkYBt0c9K7uweMe4Z56tuQtNsWvoV04HI2Ch+bN+ a0K6K0tVUE0hfEv1SfimSfsG3MTgIoyhh71rM5rnyq2QqMsoTwvZUiW/Hd8YrUuxcJj1 HsdZOBi+3CeFkDMTrguqRMN//q5n/Tqzx+GFtJAN70FS4+rb1wXZLXfzh2kb1yQ7MLXl M9qFiTXkSZ5+jUVI96YYQCMrHrb3TvQH6slzazPo6LIKtTkUparJYHAscsXoF2532weA wPiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZqfwDHo1; 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 d2si4013948pla.81.2018.12.14.04.15.41; Fri, 14 Dec 2018 04:16:05 -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=ZqfwDHo1; 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 S1732164AbeLNMO5 (ORCPT + 99 others); Fri, 14 Dec 2018 07:14:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:34690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731480AbeLNMOz (ORCPT ); Fri, 14 Dec 2018 07:14:55 -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 358D0214F0; Fri, 14 Dec 2018 12:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789694; bh=+nFA/6FtLROIO9Gt4DF9MVL1xXI929Uh5/kd2f2ZD/g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZqfwDHo1wJ3RNAI8K00k6CHsVsaBmhI/56wPlIasz8aqjtoRyckY6E5oNc6ZZXPue vcopt7f84W6LY0UMxxNVNGH8wFgswU33kic9PhS36ATQ3vc1OvDLF8Om8u1CHCOdII 9DLjQxMEF9L0r+Ius9jDILFcOK8BieBYj9xtZcAg= 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.4 33/88] fscache, cachefiles: remove redundant variable cache Date: Fri, 14 Dec 2018 13:00:07 +0100 Message-Id: <20181214115704.888003896@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115702.151309521@linuxfoundation.org> References: <20181214115702.151309521@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.4-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 5b68cf526887..c05ab2ec0fef 100644 --- a/fs/cachefiles/rdwr.c +++ b/fs/cachefiles/rdwr.c @@ -963,11 +963,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