Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2020260imu; Fri, 14 Dec 2018 04:37:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/W8F9byXlpklVCzxvSPgaaEncJjILCGb2UeVacwLRqXzG51BExoCg+2RCd9zUM+gEAchBPb X-Received: by 2002:a62:8d4f:: with SMTP id z76mr2808527pfd.2.1544791030636; Fri, 14 Dec 2018 04:37:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544791030; cv=none; d=google.com; s=arc-20160816; b=HWSNPkV12SNc5+yGM0WAj/IFhuSlW0Ff5KBUKBX1+Lr7ZNrvyRo5xLW4VrEdvdM2vj g0yigYpzalwGA8gFUDWh8mI5p56x0qO7gT7W/k8d8xfKiAsk9KanUPSdQOAEMWYl5XZ3 rztaC53A5UZNVqyFIKAH/csrhZqsXO4FzFzy0dppTCePNFRmD02n0RD45z+OTmO9+i3q AXOFLJc/L/+Xu/CkX81hWPUSd1gsQ4J/2Va5r5XC1I6iab6B1yUp0KrZ1t80rZXxCE6R F3KZKZG5zUcMYn34pApunRptPdpn/wePpwQ1ImeSI+ElDCRhG+/uMr96M1fmqLcCu0aV c0SA== 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=ECw9xiK2R67zUiORuR08IMyJDHkl1KPqf54uZdRIRgo=; b=0TxnLK8Auw/QM+sYNUtAIIx/86o1bjrJnn0iYU0Sq/tcYbSLG/DS4JfhOdqVV3UGqi 6qHfVk0sWmts9t7LqPmwvBLy1XoHrwXqXzW9qcVi/TGkJwYMnBk9SEqiLQOocbmXlqea EKY7ywac13nGpIkNqbbB6e5Fzm7E20REqiQzc1biSfFbeAKaMLgnANOOFwQePaZIJLHl bWUJpbIHYlJfElJgLjgynJ6VqT+/4OmXiOBb7IjpTrQtc/F6CyFZQPYnrISJbhmjv4b0 VaqrZgvMJspvBNoyLYEyXsbIVO2XNrRZkZTxJFwrUw3Ap3Fr1aQpDvF0KiMomnt65cC1 BfOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ElN7rpnp; 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 d125si3816636pgc.418.2018.12.14.04.36.56; Fri, 14 Dec 2018 04:37:10 -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=ElN7rpnp; 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 S1730994AbeLNMGw (ORCPT + 99 others); Fri, 14 Dec 2018 07:06:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:51972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730251AbeLNMGu (ORCPT ); Fri, 14 Dec 2018 07:06:50 -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 103EA21479; Fri, 14 Dec 2018 12:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789209; bh=wtOrfaiS4ZyYwdX9KgFG5X1vDXQrt5cz0lgk/Rj4W90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ElN7rpnpKFQEpvBJEH7exuDwAi/dtf0BrpeYUvSl2bNJbsv/YS0gGd0ooDPRkfmsW jevaiPWeNcmOwVP3rjAbMmaFEfczvsC0fkDlfT+UCHQcRQduc2ojZKlOd8bZXigxY3 /Pwl+55bDuDiZvKuoJ95aDzKGejZkVNuEbFb1vaQ= 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.19 119/142] fscache, cachefiles: remove redundant variable cache Date: Fri, 14 Dec 2018 13:00:04 +0100 Message-Id: <20181214115751.792048911@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115747.053633987@linuxfoundation.org> References: <20181214115747.053633987@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.19-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 db233588a69a..8a577409d030 100644 --- a/fs/cachefiles/rdwr.c +++ b/fs/cachefiles/rdwr.c @@ -968,11 +968,8 @@ void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) __releases(&object->fscache.cookie->lock) { 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