Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1241849lqo; Fri, 17 May 2024 16:04:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSKia3rq8cLStIuaGoPIDCCLxVOoIwCRavRmBw3P+17pmp2b44dOkg5yLiw20Yl0RJaEN1ww/TMiLJn4huYC+cUDXNJRJ+EIuRkQxGXQ== X-Google-Smtp-Source: AGHT+IG/foIAZAF7Opzw/YzmJrZw9NZxQ6gMJyq7I5CYOSyIh0IukLlW+oEk9+LP4eiRyChXqIZ1 X-Received: by 2002:a05:6e02:1fc4:b0:36d:b604:7943 with SMTP id e9e14a558f8ab-36db6047defmr111816495ab.5.1715987074258; Fri, 17 May 2024 16:04:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715987074; cv=pass; d=google.com; s=arc-20160816; b=IfL2WJIdoE0zqaD/0QCwETf7UScylWxiKlza/BmsfjohNyaVcRl54iqvxyKKjfKz/j prKB1ai70a3nhkO+/MFcqbNw5w65LH7jI6PLoek5Pr61xycs7Vw4YOHUp7in9Kfq85kw zC9l6RyRACaITZERbX8MW22toxU7gu/7+GcjUiw3qlPYlLmB0RJoNcXLpARhoKS8XNmE yE1ZMq61cqp2+TtovB5QT/FTVYKy4hMCt5n5t2WEk5ErmXRd8rbVcNR5+4cSLwP59f4Z D/gx1u5vBiqK1V0nJ7xIu15bjkpi6TD6k9liDMZrUMUl1jNfTH6d6tqM+jMbpUTgbzSK uczw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=WiRSirHLXEeLj+iZNrKZihamTCj24KKNNfaUSFLoN9s=; fh=yREpnsSDoCKCtZHfCoOvcjlVN2NLRxbbOPudK4mggaA=; b=s3UsDU80AZ8gbUOVXM6uGlASI3KDied3wW0Jonifm/ft66F5StlnjMTb3TC6SEeDKO cNKDWtv0EkqQBsQLLjmjb+7s4ehgb9JuWzl7SBtKmMQZseBTN9PNhOseHD6A5BZF5lkE DdktUCtKDhNJFT3CXi/aDkyzRkYpZ1v5/PhXhMpDeljI3TlZAnnnYFu67BfTvJYd8zOR 5DCHPQxchK1rb1itq75U768MuuzvxlT+P9JGI6alybH1iJmix8Qu+NSlyskeZixGt4S6 P2smMR76LYgjzalg6/RQRg5NqBsBO09Oj+IkbgbLzAk1zazO9JDpBVGXUshA1d1uLnvN e7kA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=GBxEMGYU; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-182681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-65014c4e09dsi7757726a12.638.2024.05.17.16.04.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 16:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=GBxEMGYU; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-182681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DAF18283A67 for ; Fri, 17 May 2024 23:04:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B8201411E2; Fri, 17 May 2024 23:04:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="GBxEMGYU" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16B74BA29; Fri, 17 May 2024 23:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715987067; cv=none; b=paVxggWPHRNsucJiNW+ffp1whkhlX2Z9FiIRyFE7P+qmzC3Gt+QL6kAyOc3pMFLzhGNqOehT233STHEWxiwJZJnIJyt47Kr1FDRQ26G5H/9taC51renB/QMB1kwf//LZDQLuq1X5DQk9dxQj+YoijYvdtAbjk8RHSE8eCPziGHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715987067; c=relaxed/simple; bh=Jjl+6qHSjrekqgQIZZlevTofzQZYMq1ACQzJopY/mk4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lLJC9Ws0/HsB2tOb8PFxzkn0KUfLHZ8eTPrfEoJtlZryhvDBIqWDEN0mdr5qGTubGwt2q/EFhWmlBJV9a08QiIGtk2zS7mlJZ74pXTnHOt11MzSj0xatMMrx506vHBJK7Gao4gxYnnZkK0BKnJ3cHCI4ObK7mWtx7teHV/tWlV0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=GBxEMGYU; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=WiRSirHLXEeLj+iZNrKZihamTCj24KKNNfaUSFLoN9s=; b=GBxEMGYUUSQv//Wq 6AviypKqlUShmUC9Ly9xOu8Eu9FmhGda3Z++ZTSvmLb1VNZ66SsNo8vy0ARJz6kKhzgJwHW5UIEy1 R63aPdcdWh1dmR/iDyC2u10NcjWwWIenp1OPV34EgzrCaVZFGISC3zMYpD3Ul2N4GD+QMA28ZUCWE AlyntaLewFVZxMnQdpG8x8iL+wKWd0TuBnERQdMUyyZwOSdF8qU6uou4F9INL93EjpOlZA8y77RfH pmFuWjlC2BFpUzd55xitKQ4Jc+QA68hLl9qWXSBUXDekaBdlmgVHPZSkSd/al0hEj2hsth61+ApGe o1mnRs+gcO13HXMmdw==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1s86cf-001TeT-1h; Fri, 17 May 2024 23:04:21 +0000 Date: Fri, 17 May 2024 23:04:21 +0000 From: "Dr. David Alan Gilbert" To: Bryan O'Donoghue Cc: Frank.li@nxp.com, vkoul@kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dmaengine: qcom: gpi: remove unused struct 'reg_info' Message-ID: References: <20240516152537.262354-1-linux@treblig.org> <39b66355-f67e-49e9-a64b-fdd87340f787@linaro.org> <3fe6e86d-5b4d-4b3c-a5d7-59f01dc6b0bc@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <3fe6e86d-5b4d-4b3c-a5d7-59f01dc6b0bc@linaro.org> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 23:03:14 up 9 days, 10:17, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Bryan O'Donoghue (bryan.odonoghue@linaro.org) wrote: > On 17/05/2024 12:19, Dr. David Alan Gilbert wrote: > > > If you look at the V1 I had > > > ''gpi_desc' seems like it was never used. > > > Remove it.' > > > > > > but Frank suggested copying the subject line; so I'm not sure > > > whether you want more or less! > > > > > > I could change this to: > > > > > > 'gpi_desc' was never used since it's initial > > > commit 5d0c3533a19f ("dmaengine: qcom: Add GPI dma driver") > > Oops, of course I mean 'reg_info' which is what I fixed in v2. > > > > > Would you be OK with that? > > Dave > > > > > Dave > > Hi Dave, > > I saw your v1 interaction after commenting but, I still think commits that > say "this removes a data structure" should elaborate more. > > "This structure is no longer used since commit: 12charsubshahere" or "This > structure was never used and should be considered dead code" > > I generally hope the intention of my commits is clear from the code with the > commit log adding whatever context or elaboration on top. > > So that's what I'm suggesting here. A bit of commit log sugar on top which > elaborates on and justifies the change. OK, so how about the version I suggested above: 'reg_info' was never used since it's initial commit 5d0c3533a19f ("dmaengine: qcom: Add GPI dma driver") Remove it. Is that OK with you? Dave > > --- > bod > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/