Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp560143lqp; Wed, 12 Jun 2024 09:21:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmbUbA0pmiuI629RRYp3jzHoqVdMe9+7Itj2M/VQTrVVvpPv7dLdkE6MaqEZz4pjK8b2Ks4qyVl6lRlkLXwiXF4dLRGKaLcCuQ/URTiQ== X-Google-Smtp-Source: AGHT+IGlbsKTneK6+dxpG1AIBzDXq2kCnrN5G0r4B3uCDyFWp+YXirphaI2EZsjNcMfTNsePIQ09 X-Received: by 2002:a05:622a:1801:b0:441:2995:fa08 with SMTP id d75a77b69052e-4415ac2fee0mr16816101cf.19.1718209301782; Wed, 12 Jun 2024 09:21:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718209301; cv=pass; d=google.com; s=arc-20160816; b=MIIarOld1uqS+XqgmMwvGtycvHU/BSTaik5GJmF5sT7t+02e70DjgRTLsjpZG3RgCX ++nbD0xqh7O/qKpL8M3NN2SassHXeoRFu7SpCaxSKWrPhZC5bV+pObyOEIad/QUZBEPY wfsC8H6GIl2oHIktseqK8xypRRxqNEu9W9dxndEGpqWufrdMSlLpW66i4qlCyPtKSQ6x 4F2T9+yi6h2yjni7xfHqON7vbwoBCk/SO2+zcYjWzg8HlsYberL1Lbuh85U58k1Obrcn jX/x1wg4VH22UMjTIrBfhp13bNKZyjkNdtxR1ZRLv0+3OhqqiJQDdABmiY9FWT8OTrUO lSyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=KUSq90CkA/e5YtyJB3DxxxJXJzc5nG1xr3zOSJv9S5o=; fh=CIgRSjPk8EI6mDfgO3WcCFQyCkw7DnVTlSX2PGy7XSQ=; b=xRYPpOUoL+zk/9HZ4x3S1QJHfwIxEOJzQHr1iw++qQgmrh2FS1PGGzUj/R7cDf3NmA e1v1R51FUO2F5U9H45dmd+OGobUG4T9Hl/2zLd8d4jMZXtWJ91sQ6r9NFvbnK9Aa2YjQ jEdJVJJoNQQBUNb3CnMzEeW4woyXanvOFNIIqxDO7yBDLzJRfwkLAGNl7ecskzXljAM3 aQ5lG11QkhCtXgTmI7DS4q5LFd7N1zW8bbkfuiKMxTsErQhW7vVUP3B3pLBUyb6Tg6np 5yngxLnWuNLjODAoy2r5lLtj9wtppTU1eJwUzQH9e4SCvyXV1MT5U3E/rr/z+75LepVp WkTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o+GrKvoB; 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-211902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44109fdc7b7si61730821cf.331.2024.06.12.09.21.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:21:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o+GrKvoB; 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-211902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211902-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 751801C20A27 for ; Wed, 12 Jun 2024 16:21:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 875A9180A60; Wed, 12 Jun 2024 16:16:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="o+GrKvoB" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 EF58F195998 for ; Wed, 12 Jun 2024 16:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718208982; cv=none; b=OCDv1svi61pUUojEM8ehBUdExxz8JC4+a5jIrNJvky+OJTJ0wB7a9HYaHCDFeaE21ZYwpqkVLcvIk0iBEKczh8uce4zeMH6UFXGNz9gL2NeixNa29IexMmOCPteTYwy8TYcZscsKyxDSXH5uldqiskLpt1l/5AqPHI3mIkUzRo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718208982; c=relaxed/simple; bh=6+UBEqHPuSCJQ5GPuzFYqeY5be1EJ+f74Fpf7byXhqo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O07nsKC7JjW6JbR6nQpvNGAYaoHZzs2lrjvrWbA/y/DzTFMV8Tl+oZ/lnyYTf39sWoA6Yho6QUMCkt/MylpwxKcr4lwEXx4IjyFkGMtXDsq/99RTGsbh/kV+/z8jzX24ecBO5Tfbl/pHvBK0PIYaisBrX7rpkD+9DdotXUfNdKQ= 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=o+GrKvoB; arc=none smtp.client-ip=209.85.167.45 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-lf1-f45.google.com with SMTP id 2adb3069b0e04-52bc29c79fdso76821e87.1 for ; Wed, 12 Jun 2024 09:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718208978; x=1718813778; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KUSq90CkA/e5YtyJB3DxxxJXJzc5nG1xr3zOSJv9S5o=; b=o+GrKvoB8w8kPSQGXkjcoHycph1mJjuNRcq+KDohLwKCoCzAOrVLNSumeMG/rEZdqy opNNtWFfBzqlQgHDBlnMg98rnzi6s/WDFe5mURKXX2/9LWRo84ZtEwyHdNKyicHehqHy k0Hiv9psCCQaCsNuvi/RXDjI+9DQXEnY7fgnbtLzo+H9A4I1L7PDsHV27mbx2xmM+8Vw NsUbWLI+KNC25arx9/K7VC09gyeof9DANg5ha0sTfZMoc6b82zauDH9Mzy1Vk68dYZWU 4lYgpRaBKNinTEu6hS0q0+I/NK91TH7Wj01w6y04hQFYCUOCNoNCzYTiFf8J0ijS+epM zUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718208978; x=1718813778; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KUSq90CkA/e5YtyJB3DxxxJXJzc5nG1xr3zOSJv9S5o=; b=G6SMWnk7u3SrdP75ayUittlcExxVxN1iUlKTv/mcoJ8/GxwWqlQ1oNVwP4WcPmugOv XTz+xVVoJsw32c1PvG6QAH6sIFKSBPPbXSuC6oC1xZAwlSrZqpWJv3ro/C/3Ckb2w9Rf r6RfIDKulUpE9qJaX/GSTZjXMsXsdCD0xIBMs6/DD2mqbKhyLeW68mJEbB9DzAnk3WGV A162vftvpwuAvNz513/uATx46ORRigt9xBJnGblr9CslLunfYCbXyZ4baRgx6RnK7ZoE WxnzC0b8tmDfr5/rMpbmynTmiiUsRsA7QFwFqr0HRNTpPIWOEJw4IKS0wJGoPfSS1P4g yUEg== X-Forwarded-Encrypted: i=1; AJvYcCWeyan1/RPjMiOrWLORAn78P2eyW5DOen7lKF19zkEhVG/p9p7ghevrlPPD0e4RCY1e2eoK+00PeUxB5Sx0iqhNU+kWwdXuOBRUgrQf X-Gm-Message-State: AOJu0YzfbpVi0lI21aujmOBNn8wpojPXjmLuY0ACovN+eBgKL3Fb2LiK XxBEG/l8EKvnuHU3T8WjfkLhrAFP7vD3p7/MBraocsuhi5g9PyniDwsuYs5gisE= X-Received: by 2002:a19:e00a:0:b0:52c:8811:42f7 with SMTP id 2adb3069b0e04-52c9a3d2020mr1828169e87.19.1718208978302; Wed, 12 Jun 2024 09:16:18 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6efd6cfb74sm624815866b.20.2024.06.12.09.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:16:17 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 12 Jun 2024 18:15:36 +0200 Subject: [PATCH 23/23] ASoC: codecs: wcd939x: Drop unused num_ports field 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240612-asoc-wcd9xxx-wide-cleanups-v1-23-0d15885b2a06@linaro.org> References: <20240612-asoc-wcd9xxx-wide-cleanups-v1-0-0d15885b2a06@linaro.org> In-Reply-To: <20240612-asoc-wcd9xxx-wide-cleanups-v1-0-0d15885b2a06@linaro.org> To: 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, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=668; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=6+UBEqHPuSCJQ5GPuzFYqeY5be1EJ+f74Fpf7byXhqo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmacmr/WnHs89ZC/yEkUavUltM0vHYHU6KbqX4W wEotKpQ6ieJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmnJqwAKCRDBN2bmhouD 19KVEACbMMT3jPxwjV7Xo2ksLok+3WxWywwteg/LnIXFjkRxGoGONk15q24uYyDKKeTxUuPDpib XcwgtSHFW0e0q0mt2feP46Ce1INuVVah99aoK+HGWF79YJG/2UtzxzPCaTbewL7o4h+55j5TcuA vHM6nrwyyC+r7AJeOtKlOZy/tOy+YANRFZWu9UkXXRxx9pB2GtBYsTPaJ3HYwrGrjO+zJ9QITs4 ccPF7qmrb5f7Gp2yZ8NU35FLjbaS0/UOSeyXCrXNF181JruQZ+wed0snTOALbZbdQ6IDQ9JD6GO rX0VMP0JW37eGVz/wcJRUYHOQ8zKCXQ9tgfANZn4JvwUhbFay/vJGEFhRhOC1tBt+k86B5Pbjzl SAB3Azk97OvL+I9xA/jLtun1WoHWXbFeSrhYFaUx1StgW0CATkzIdD6cL23hxrvZKhDTOADiDCo edn/0N6j5mAktUp3v2PV/lSD+qgj36GvPC6/P4Tj0TAVE+33cMLYxBD/ZNXcRnlyZK3eLztTnKS yHmDTb/is8fY8DEdcpmxpSEI0TqbM0masGNvaS26HcB91dO1ND8Ghs+gn81PjrTvvskQz5Gumld ALpx3MIKDaAHcU2lRawkwvJ9Y4AeWo8YnyzrkYIykhcicLO1BA+PR+XLarpL0oGplP0tQAVtWt1 m/+jt/LnIuV+7Ig== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B 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; -- 2.43.0