Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1253817lqo; Fri, 17 May 2024 16:41:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzQY4Uwfb4WyYBdiyklk0t8eTKU+vKVJK0NqBXlRLANIFPGWzgYFTC8rl4arsfF3VJPiqoBPokVtvX7oWVtPIdvlktulxrY7/QNQxP4A== X-Google-Smtp-Source: AGHT+IH+ccFRFe770SYztN2l/nSoVr6X86iyc2+64jRITFJundoUxbLs+Bm1x8+fVcFcUY/wXnqM X-Received: by 2002:a17:906:a41:b0:a5d:edb:6d59 with SMTP id a640c23a62f3a-a5d0edb7945mr196880166b.73.1715989289421; Fri, 17 May 2024 16:41:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715989289; cv=pass; d=google.com; s=arc-20160816; b=zh6xSGBYxYA+WM0YrBTOrl7H7YNbTZjPWC4Rt6f3YBba20b2czuwY8cv7jXJsJjCr4 0oABxL/kBVj3e8fKDCHDDSE7Ke+wm4n4awQKeKHu4DBUYi6z4U9GlxB35sVApb6BYgqY 81OkeyePfdj7+jTKXmFKS1ibpV8lVaUD+zcE/T05Um6WfsagvaOrfca424SGnt/HSArP VQjvV+YPTpY4T2luxR3VJp4HLWKbhayt5p5aOrUMr8Ts91Kfs8KvCaoD+NOXiYLEpmuV ERI3TfMxsYf3Tyg4Ntzn7ynnVMjqtKF30Jb7Dx7i5dYXFvkgdziOUt2T/GAxHAXeXpOt G/9A== 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=Mte/zTfCFvcefoW6SvHsQ/+Lbzl1hVpku1r0UnTKxgo=; fh=yREpnsSDoCKCtZHfCoOvcjlVN2NLRxbbOPudK4mggaA=; b=e/puyhudP+ZfnBxPz19wBPBiQmq+let6uQYKVJm6TZIOwRihOFT9yq3He/MK3ozpX+ GPlIsYDg5OBXIKrQsTNgQfATBWyKq99yj3Zr+Lk6Z4nnvuWzzxWX/8UQAK9SB03OocG1 LQV541dtW2RzO7l9VhgsfJtPk0o8QombQShpz61nrs2GrV0vXiekfwgS7ipr0EQ/jxqf W/OPPLAfk5DvjeWjcj9qnGJWwxreCeDgC7o6MvJPiWw5pyIRjjmelLkBmu2KaF9R7Cqt lrA6bZlPrUXQ3dsmM53dNghxYpv3STcWDt2CEOmSR9Q2UakaGRpgNA6O6LzxiUKIw0KB PHmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=QooPQVsg; 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-182704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5d1079016bsi94757066b.591.2024.05.17.16.41.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 16:41:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=QooPQVsg; 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-182704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182704-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2C8321F21EAA for ; Fri, 17 May 2024 23:41:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FC03141987; Fri, 17 May 2024 23:41:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="QooPQVsg" 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 27D3F1E532; Fri, 17 May 2024 23:41:18 +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=1715989280; cv=none; b=kyZ+CLjM70BBvBUk1RSu6sPU3Fd54vtBSH5/AncnoB+89HCMCcuajuBiAAPgqc1nreT3oeND0upqLaYLcbsXK5EcpV2SgcdkqTM7QHdv3D6y7InW4R3BmN+swHDx9xtx7FBYx2MRsShEYuYJLRJs5AU+MHUfNxCUpWFW4ypRgvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715989280; c=relaxed/simple; bh=Nf1PDMr0ebBF2dbwF9Hg8zjxX9i1A0cdraxAorgWcCQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rr+vnZd/I/I4bnGeWLVuVt6HpXfl99rVo+Snzjshe2hrgHFVUMC6m72PJa6+sHpq4pEXfg3BJpTTOesrInJdJNM5XKAdn/cT0sNA5ThcuyYoh37OJ4xYUXv79lTIYU4cQ/iN0xa9j5WdxnyvB5pzSHxNKcur1t+0Khm0j+wXvRs= 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=QooPQVsg; 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=Mte/zTfCFvcefoW6SvHsQ/+Lbzl1hVpku1r0UnTKxgo=; b=QooPQVsgJaXV92sW L1WqPJurq/xV8xNLeL/mJXMxqEk9K+dfs9lSTIiBQYeLwYXQsHlkSplJqil8LuApOu6A/jQq41s14 6DC/l4OZ+Qi42ThqDoxWL9NVFtTPuv/K9XQpaEcxvB/MRfamoOXqu9yHyKCDMUdthO/X/2Q7F/KpT WuwL/8ez30bll6gVHAH0X1sSzZnWpL0DoYyNpjE54q5VTTpT6ZEv0qON/jCr9VcrMQsHGuuvn1J0/ 0up/MQI/MssZpgeS2lTj/rtzm1yKSiEfYfi0SXheffvRA8aQxDdxDBYTiAa3W/nLf1Hw3awY/xQWG EimjFOx8umT/CMtuVQ==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1s87CO-001TxC-37; Fri, 17 May 2024 23:41:16 +0000 Date: Fri, 17 May 2024 23:41:16 +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: X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 23:40:57 up 9 days, 10:54, 1 user, load average: 0.04, 0.03, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Bryan O'Donoghue (bryan.odonoghue@linaro.org) wrote: > On 18/05/2024 00:04, Dr. David Alan Gilbert wrote: > > * 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 > > > > > LGTM > > Reviewed-by: Bryan O'Donoghue Thanks, v3 sent and copied to you with that RB added. Dave -- -----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 |_______/