Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2911343ybl; Sun, 11 Aug 2019 11:11:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7i8NDneThZeH9YQOGwEwVwT3X8gNQVsk1KZj9mNhi2ouPve2y5o04LCRd/AOVajNOvX+8 X-Received: by 2002:a62:5207:: with SMTP id g7mr6165901pfb.152.1565547078868; Sun, 11 Aug 2019 11:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565547078; cv=none; d=google.com; s=arc-20160816; b=VmwR7z97HqVnY8Ry4UzRI330y916K1T0hCW0DmUS6Z7ExIzBPY9zULgXQb/pJBxDH2 YgEgM5Cx5s2WEdfWGHR5rVIlzNHADhq2hG9TvJpP/CNICfxHCC6iACKvViBnSVGKUXC3 H+16uPutyDqKNSjwGt9YjRWMcNOTXbLGPkl/6IEMFztsn9ku8Ho2dzeAuX2KSpynOOLu Sz7qi77/QAysUg7LfuaENgNu4rVIlW8eFEh/77I808eEknwPBHSp8yeYHyXABxEW2Wcf NKuKf7dEPxQ5vRefdfTvbciDamSqpAWL61EDonIQqJluU/GchVM3mKqcwoLFmDB12aRu afaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=6A9lZ3mxKuIq/xI38dvzboBRUD05pSSPoqYoZMqZgVM=; b=Qu46xfMGBfxDwHxEbLOSX7MOEyBU3rFF5o6/HSaGd8syrsZ7TBpGSPZ1LC/n/cVp0X McuFXaUMBBkaP57yEIiaxXHR5Gp8baslVfzFiBlPVQbnNZBGWKtFdb847dg9YwC9a0lH ZP9jZCuCuK7e2fJnoIIlnSrD2jpTe9kY2u0qH6KZiSuG1go+Yx5NEUrBj4lK/RO2hBFN PhilWbiWO3Hfic3+tRgULuyIkqvPWjK/mayOa2cg/MiQA1fhgYnU3wxC4B483qr8cRgv 06GWuhmg2YEj7WOILRPtexEgCF4wM4MvCRyuFt7XUWVEKcfcw5tCBwsHOZnN3nmTSgSd ZHkQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si9842301pju.85.2019.08.11.11.11.02; Sun, 11 Aug 2019 11:11:18 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726236AbfHKSKb (ORCPT + 99 others); Sun, 11 Aug 2019 14:10:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44228 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbfHKSKb (ORCPT ); Sun, 11 Aug 2019 14:10:31 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A1856C015C30; Sun, 11 Aug 2019 18:10:30 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4894928D1C; Sun, 11 Aug 2019 18:10:26 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id x7BIAPHN014772; Sun, 11 Aug 2019 14:10:25 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id x7BIAOrP014768; Sun, 11 Aug 2019 14:10:25 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Sun, 11 Aug 2019 14:10:24 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Huaisheng Ye cc: snitzer@redhat.com, agk@redhat.com, prarit@redhat.com, tyu1@lenovo.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Huaisheng Ye Subject: Re: dm writecache: remove unused member pointer in writeback_struct In-Reply-To: <20190811161233.7616-1-yehs2007@zoho.com> Message-ID: References: <20190811161233.7616-1-yehs2007@zoho.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sun, 11 Aug 2019 18:10:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Aug 2019, Huaisheng Ye wrote: > From: Huaisheng Ye > > The stucture member pointer page in writeback_struct never has been > used actually. Remove it. > > Signed-off-by: Huaisheng Ye Acked-by: Mikulas Patocka > --- > drivers/md/dm-writecache.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c > index 1cb137f..5c7009d 100644 > --- a/drivers/md/dm-writecache.c > +++ b/drivers/md/dm-writecache.c > @@ -190,7 +190,6 @@ struct writeback_struct { > struct dm_writecache *wc; > struct wc_entry **wc_list; > unsigned wc_list_n; > - struct page *page; > struct wc_entry *wc_list_inline[WB_LIST_INLINE]; > struct bio bio; > }; > -- > 1.8.3.1 > >