Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1245356lqo; Fri, 17 May 2024 16:13:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkG8Y0RN/GqnaHaC5b+MkJ1VPOmzGnR76IuKbDmINaQcSofVRGWQkUsiOVm/CmMv/4We4lMX+J148DeqPVm5qKTbgZPwBo/9MKUWA9/g== X-Google-Smtp-Source: AGHT+IHYnkpEkNJS7i+xMs4FaYPiJUEakFLcnPJayKlRJubX0ToDBYLfi/v8YtBITP2kwx7Xk/sX X-Received: by 2002:a05:6e02:20e1:b0:36a:32f2:fc76 with SMTP id e9e14a558f8ab-36cc149a2d9mr273743485ab.26.1715987600982; Fri, 17 May 2024 16:13:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715987600; cv=pass; d=google.com; s=arc-20160816; b=V1MuBCOt65R9C52eSnGzcAxmPsULGjVpFaiSlo9stnDEVOy2BlO1KbWstFpWVcuvJn ijo5EXvxbjmS4qgklwpmKsijmxfBLACref6CSg+aZgyrttHkIyvCfQGniRlhqTh4aJVt R8STYvkejLqS6fIinvRZKM92zoGDmWehWBfveIiOc50MHo3TrpiE+HDwVAiC9eS8194L OlNi5pGW3XOmGovV3UNHwoc/UL8ng6J2pOo6BF5VaZaCj1qtwHzM4IxVohmD22FR2+lJ +lFjQoo9k7AEKjwpaPeuLEH0rYOQ4sPNkRQIA/2dMbdA2zGoTf/BtnUaprKblXPl+AlT J2sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TZVI66jI2kN4mSZo36o1UAonrQfJPzrUsip59CjO1Ds=; fh=N/yZplUyZzLHO2T4OCUoxPy97ipO4Rrecu7K57y1/cM=; b=T4dHRi/DbEXinWsbsPxjPZwj55bE1ojYgD7sv2FRi8cgnn+JzC9zxtuM5wufLbT1cs HluU/4FXunhZ668zoZG2E4DuMCth9l3NYeEH0NTVWwFpy8Ldx8jkU3hFajrirPiOrrV0 LdJDE9dGqA3QvQZrAO1aOCgXxsNjU2HO8OrWzNOmPtmCX+Qv2jlmtPxiue0O0i5BCbVP 8gYUHoAphGX7lFx2zYyvf7wiE++2pER0HAb9KGUhbnD9cYhmQ7csnjDEA19r2Il7OCGT 02enUTEQMUlPBaNsr7ZcVU2FmRUSSU6OFil6wAvIjRX7WUHC9DZZp6t8ffjxOtwtWeeJ Qytg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ytc/4XLt"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-182683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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-6596fde8f2csi4246232a12.360.2024.05.17.16.13.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 16:13:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182683-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=@linaro.org header.s=google header.b="Ytc/4XLt"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-182683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 61E75283D54 for ; Fri, 17 May 2024 23:13:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DE2A1411EA; Fri, 17 May 2024 23:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ytc/4XLt" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A6CB29CE3 for ; Fri, 17 May 2024 23:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715987594; cv=none; b=ektOzv997kAhzQ18rG6bf70t6aI6IIMT4xwB0NEH1V66Q7Q53ajKdQBIp2c0o+iDT2lYrBRTxzO9svzMm+xXPFeffJg3goU9cTLU6Db84apIO3VUkQzM5rpwcxUITq1TwwUtHfBKtx2Ag5/5U2acpz6JYHZbkKlPwxJJP/OtHnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715987594; c=relaxed/simple; bh=E6xXHE2U0UNNqbgVzCG9WXRjb+Eb3Yuxe05NpCER5NI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PJk/hdX0i1OXHrvUM6JMXk7F9JOcLl5hSkX+CQ56wLhqi88jtH47j+fzMO1P8SvoZYVZPkSjrPsUF7QPsFrLtTPEUWFTKnGrzu0Wrslku6XUqQgvz4DYSa9Y7zHqOrSTsSDyO6FwHZNDIiC30bjvCVxD5exqzK8KsHOKmH+TnpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Ytc/4XLt; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4202cea9941so6475415e9.1 for ; Fri, 17 May 2024 16:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715987591; x=1716592391; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TZVI66jI2kN4mSZo36o1UAonrQfJPzrUsip59CjO1Ds=; b=Ytc/4XLtMqWzVg+ic28qgBCB4R9/50yX3QHIDcRotmrwDdoAcq+iw9hSRCVQH0dejk vs9UfcNWKnimQMAkWoL3Z2hOhsiGoXlPihkh9ezApuK6+WmqrO5eAtRw5kLI4dOiNUqU SQfpij3DLxmceCQL+abseWqtKmRZZLW1SzV5p68M+/Qq3oo1r2QMON9hdguNwxyyOavd vsGjiREsjUqmenB4g7l0Y289NDC4TJ0L361uPFmvl4tV7lZa2NAFHlYAoqYUuipsRE8R dbm4FVgcszFTuAEKuUBSqg0wXll8Wbs8dMXhAyQpRSouFigD+Ty+pOly3JVm588kaRf1 8ltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715987591; x=1716592391; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TZVI66jI2kN4mSZo36o1UAonrQfJPzrUsip59CjO1Ds=; b=CP/q9G5XOoxXIOmgPXddHgEGeZLbXrCr5pehodSIIfIsHx7doPyjjqvX0DTfRUD2bV qT52az/tIpEc9BhTBWvLlOjJqVhY8BZOqz66Jc7UfXZB80tonag55mtLHhdbr4wbeDy7 Dei6cYw7NBAXfgeV7+13CAKppSY9MyUGqLOKEyrSQp6MA0hPPn8lnCk0GhekjTPxpicl s9vEjseqrwJ64ZMdbly4wGmnUUy+lTlIP4smkiDVPIaKYUnaiT3oH4XMsvmUQtUUFyju 68cIbrswNm27RGkQ533ideGrCEVRujQc+fj1n178FANLzUHxjBa4w2xRpKQhfcVMyY8N 951g== X-Forwarded-Encrypted: i=1; AJvYcCUw2XFpgIYza5p7K/YHzhdSKliiGw8otROw/jJf7NakYN7t8/O3ujZazwIN4kCjBgHZpIrmY3jkWNczwuWorOrCHeSQ8XNeVMvWumV3 X-Gm-Message-State: AOJu0YzsOMZW9hmTprw//QydpkWovI7iZr/z3A+KtvPbVTC3Qy03ZKWH eo8aDTcOaYUYwuEHs6Tn06EyTlM5Yv8FeJlOtzmw6NZu9sm2cfg5C1E6zlTx13ej199SGjuO3hV EDmxs8g== X-Received: by 2002:a05:600c:4751:b0:420:d54:7003 with SMTP id 5b1f17b1804b1-4200d547063mr154691165e9.20.1715987591024; Fri, 17 May 2024 16:13:11 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce2580sm318368025e9.18.2024.05.17.16.13.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 May 2024 16:13:10 -0700 (PDT) Message-ID: Date: Sat, 18 May 2024 00:13:09 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] dmaengine: qcom: gpi: remove unused struct 'reg_info' To: "Dr. David Alan Gilbert" Cc: Frank.li@nxp.com, vkoul@kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240516152537.262354-1-linux@treblig.org> <39b66355-f67e-49e9-a64b-fdd87340f787@linaro.org> <3fe6e86d-5b4d-4b3c-a5d7-59f01dc6b0bc@linaro.org> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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