Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp582240lqp; Wed, 12 Jun 2024 09:56:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUE43Oc9Z40u5kGnWmGSUMb845qatq69WvCQaqusMHxRy+twqBvbba4Jawjdd7W7utiEeAzYMGIJRdos0GW6EacZq91IzdW1KpY4x0GQA== X-Google-Smtp-Source: AGHT+IHvy3KdacYTKIHjoavCnMweMWtPSw7HnroE8Z6C28axpd9swuXgaleEOUv65H/aRi4+PC9Y X-Received: by 2002:a05:6a20:3d88:b0:1b8:2211:b7d9 with SMTP id adf61e73a8af0-1b8a9bd25b9mr2728465637.28.1718211375969; Wed, 12 Jun 2024 09:56:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718211375; cv=pass; d=google.com; s=arc-20160816; b=Jl0iccsZtWlGQy1AuhSP6tkh2EPWrZMcc92V2QZfKeM/yEksyhocWnCdfNNWVSR+MK UIfrwjPAvHBw3Pzbjm6fYwIdRX4LxvNFQ/cOsrIrETXHwjNbS6GqpfiS9kpmN5t7TRUk MZttwtena1qCd1SjONrEy0umX/BMOLQT9ptWALO6hWWjbG84H26nbShn1ErOc99llBMr A9BBExOGtZnq+pxcyD75j51nYBYF3D6RDCVBKSrroPAJo46jQQtW1moGKJwtz6SnHIkX r+qzRFRlE7DRZkAGO1c8qCjvoq9+xKmrgCU88yPEt3x9t6gt8EhMAFSnsh7J28fAvmH7 V9Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=B4CzpWsbxSKz1roonYzk0gRK2GwO4Ov8gCgr8aeKewE=; fh=tg/c7zyKdgF+au9d3da/GWjSPV6p/UHC+LqZDthuoQM=; b=VhrKDmW7bWrsWAAcAstcRbvepCvMRMr7+ldDEqMNu0/kLzZYQ4DQdb8OlJEjUWU6f+ gi3a2fXVw1i7VnD3PS8+z77ZCKfYAj3rXzo+OZGHAM4WdbGIDwMIQUX3nlY6XY9Lbuq5 grw1BeyC6uN8N7cfHEMU9Lv5bvBUaAzubx1ycyx/ifo/nuxjAx5hHS9jw5ZqQCpx24WB GE6voiARIjME33/IEJg2OFTnDpTxhe4yASbLwiTVkk0oZ+riGzrYqn7n2tYAz7OWUEaB LyTAz6vu3tLvftsDobziUP39ADwjIZnGhI4zdDbw+urrhCWN3zZqLhzZ3MG/4uqn8hV5 z8wQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GJb/MuFQ"; 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-211913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7e4880si97373875ad.330.2024.06.12.09.56.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:56:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GJb/MuFQ"; 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-211913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211913-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E9CF7B23D49 for ; Wed, 12 Jun 2024 16:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64ED31822CF; Wed, 12 Jun 2024 16:26:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GJb/MuFQ" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 BF51F181D14 for ; Wed, 12 Jun 2024 16:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718209567; cv=none; b=ZcDHLrxVtIYoH69YmjZSF6J+zwm6yt3gIQDA0muP8S4xmL6UefKxz1J0TdG+wlBsDW4hSlJWVjPsXmiAoOnywn5lYZW50Xz0618iBAGDK9UBKjL7hNDz0crzdZkzDxPJOFUPz9JkjYI28mPhbCIdpXLFy2RFTPKbUPC7los9GJs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718209567; c=relaxed/simple; bh=KRtJmgKGaGlE/Ies5zn5gjl/1GbwNz2EzvchmHQy87c=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=lQ/498QgjL2mwvM5prvHt/OJytD7c2r+ovn3ZlfIuq96tPehElaRRbQ16NT8cLtdLL5iY+Z1NpnbG5L5s+Bqbfp5fyFSZDpmoWbsepnv+zwvUQKlSVTe8ekKlhUbIQX5wcaWi8BaLfoZqjyxgek4NQosXg8/RE1juPxEQkuqN1U= 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=GJb/MuFQ; arc=none smtp.client-ip=209.85.208.182 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-lj1-f182.google.com with SMTP id 38308e7fff4ca-2eaea28868dso72100631fa.3 for ; Wed, 12 Jun 2024 09:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718209564; x=1718814364; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=B4CzpWsbxSKz1roonYzk0gRK2GwO4Ov8gCgr8aeKewE=; b=GJb/MuFQzYqTU32m0buHCig7VLHwFa1f/Kz6RE7JofryYrlvOwckj7W7EJD4D+ah7t ypo+b3bZRxdeRXu3E2UQVYxhSumyhqx2RgfsqWjO4WfoC2jcJ+3BOp7mR+/4gJTlSqJ1 6TTA0CyYAomtl+pgGnrZhrq56BnZ+gCtIqvoMqHE5SHxDbx2jZ3RbUM0a63AWpQFskoY DhFo4tlHNNkg8qjQnloIOcV3AaBCCk39Bv5pSlAN/qeJ6XRiNROsNJaKNXjAoSBT+ySa 3NtZjeg4dLFO2aaE6/AyhZ5AFEwU03+qONRFvVqDTOulALAACdpzMMQGwpBg0h78AV5t /0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718209564; x=1718814364; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=B4CzpWsbxSKz1roonYzk0gRK2GwO4Ov8gCgr8aeKewE=; b=I60xXakCVSIs0WicGirudr3beQjktGmqolK8nQn6I9gUfgcKv5RI6h2dfn0c0F1CWd eSuFniFuf/h3EbkoZun4+3/ibD1zceGTh+coQhXu/eX0m1l1Vyfhb4nLp5FRzMKaHeYl 0QCq2suS7uzyfmt6qBGRTIMX/G2msQPqoQLwCFRUAxRAuI4yw1/Wzjy87sXzq2/Mbdgy indLMJ/euFn55S/aUz0t2+K24/jZFgZ9iNTlTjGZx1wpQKDH+FJoNvRDfDYIWhbVoOYq VM4uDo54iWUyFRYf35d3sxrhk4UccoDYZ04tZFKIt/La9pJYm2AqInPL7R2DUQkXB5Oo CeUw== X-Forwarded-Encrypted: i=1; AJvYcCWVIAVGqLqmMEUzBAK+VYvq6IZLpgthN6zGehu+EHunEdqjAO8f4GZYdSWQlAUivhlKUv7xV5gwrDmfFYA0lFzmGhfGgweZ7cl9tWj7 X-Gm-Message-State: AOJu0Yzlv+SCO8u29XYG8rlvbdQVOJLChGnqV+LhTzh983YNzl12wToc QYCwQQ1ClYwK6pYyJk04vLUvhI47mqNu4DsNWPDpQchN5cbglYEVcehjVJ7nz+8= X-Received: by 2002:a2e:9449:0:b0:2eb:fccd:fc12 with SMTP id 38308e7fff4ca-2ebfccdfd24mr17385251fa.2.1718209563913; Wed, 12 Jun 2024 09:26:03 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:30bd:bf21:eed1:8aeb? ([2a01:e0a:982:cbb0:30bd:bf21:eed1:8aeb]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-422870f0c65sm32402695e9.27.2024.06.12.09.26.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 09:26:03 -0700 (PDT) Message-ID: <828ff7cc-462d-4433-ab68-ce139a31fa24@linaro.org> Date: Wed, 12 Jun 2024 18:26:02 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 23/23] ASoC: codecs: wcd939x: Drop unused num_ports field To: Krzysztof Kozlowski , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240612-asoc-wcd9xxx-wide-cleanups-v1-0-0d15885b2a06@linaro.org> <20240612-asoc-wcd9xxx-wide-cleanups-v1-23-0d15885b2a06@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwU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ZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240612-asoc-wcd9xxx-wide-cleanups-v1-23-0d15885b2a06@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/06/2024 18:15, Krzysztof Kozlowski wrote: > The driver does not use few 'num_ports' in 'struct wcd939x_sdw_priv'. > > Signed-off-by: Krzysztof Kozlowski > --- > sound/soc/codecs/wcd939x.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/soc/codecs/wcd939x.h b/sound/soc/codecs/wcd939x.h > index 0aa4d9d542c6..1571c2120cfc 100644 > --- a/sound/soc/codecs/wcd939x.h > +++ b/sound/soc/codecs/wcd939x.h > @@ -912,7 +912,6 @@ struct wcd939x_sdw_priv { > const struct wcd939x_sdw_ch_info *ch_info; > bool port_enable[WCD939X_MAX_SWR_CH_IDS]; > int active_ports; > - int num_ports; > bool is_tx; > struct wcd939x_priv *wcd939x; > struct irq_domain *slave_irq; > Reviewed-by: Neil Armstrong