Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1993131imu; Fri, 14 Dec 2018 04:12:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/XnmhWCPJDWYsUmLvEkFvaAOBhV3aPcMs9PeQZl3hYwKQgyBeWmgafzgy7Zv93hdYy1N9iL X-Received: by 2002:a17:902:380c:: with SMTP id l12mr2569657plc.326.1544789528873; Fri, 14 Dec 2018 04:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789528; cv=none; d=google.com; s=arc-20160816; b=HdiuPGERCoBw5UmBcHbiWMnxWXE4hL4ONbZJkz1MWHhVeAhcLw+rKJCdDjU2uYPyKl h4k1N8D5dTQfGn//8GcnLx0a82yaSmweXj2ZRX6Q16yFWIcmfcKHRDdGkPLvSmp7tMTz gXaXYIr+chcnbv0DHFxRv0j8m/YqP+yBX/QR2NYSi/OhE1TLL45gSIZ1kwPba1nS2xap sMAJmItAMHvOCpXR7aEaYYCUCdz9MIrRiRBZPzDZQW3DyTT5zXJTOG8AULsgpzuJSuT3 nBZ347bDKfIEEn0uw/gYx+4C2EMLbilWL4jK18BzmAcu4DbElb4MTwzfKKJIWuwS8NUw DqTw== 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=njjtEAfBZUNSoSwN60QrgBMT84cok94ZrNNvZReum/4=; b=XiStuB8IPDtT5YIMpWN2be8jpQ6hX0OecK/mr0zN7JXsh7TWfsMLJ3tisVVtFIG7kh 6rTOk3AF/pamWG3xpnwSrBPxpI89q1If/RkO+O06ZF8uAYhw2PVnuj85QXnkZENIAhe0 6yFfGN4ygVHf9JLr4KMupIo+0cFt4NN1v/2J8IqdIEJ/ciJBQbkk2psqKGJF4vfoDxZQ GuydZXifpWE3UwPrtRpgT9TJ0MwWnis23251vPJwM5EZSnvcjXtqQuU2kr72zsUom3Fg sv3QFj1t03j+hwWaHUbfh1IO64YXjDMpzIH6jJVZKktOzvnAq2uSm7SxM65CmAAd8cqY ihTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Dg+AijlC; 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 d4si2241706pls.348.2018.12.14.04.11.53; Fri, 14 Dec 2018 04:12:08 -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=Dg+AijlC; 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 S1731709AbeLNMK7 (ORCPT + 99 others); Fri, 14 Dec 2018 07:10:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:57376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730635AbeLNMK5 (ORCPT ); Fri, 14 Dec 2018 07:10:57 -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 1AC5E2147C; Fri, 14 Dec 2018 12:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789456; bh=lxunfTEEqyb508Z17U3Ol1mAfpNbhdHH/BoHsqv5Jd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dg+AijlCWnJTsNzhREBwPtG45lEo1cdhitoLkFrE3GDXsxMThK16pYO6nmxuGQ34G haQoqHtlUIiF7oK+RI5agb1hXzawN6ah/3tkzAcRcjFbvQv2cc0N+MyNc0vhK1p5QZ epEoFQcvQxRpCW9vh5cILVxrZeXa0+GBMzC1p2xU= 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.14 70/89] fscache, cachefiles: remove redundant variable cache Date: Fri, 14 Dec 2018 13:00:23 +0100 Message-Id: <20181214115733.125842079@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115729.658859279@linuxfoundation.org> References: <20181214115729.658859279@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.14-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 54379cf7db7f..5e9176ec0d3a 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