Message ID | 87sesmb852.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | In Next, archived |
Headers | show
Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010063.outbound.protection.outlook.com [52.101.228.63]) (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 63AA438DD1 for <imx@lists.linux.dev>; Thu, 24 Oct 2024 01:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729733390; cv=fail; b=nbHvZo1bADfNU4TT/S9fyR0rvxmlk5DK/gLm988tA6G/+hKVUGa+s+Fql1wXee4AGHfiaWXMQe6YEXqGF70U2Bd51YvYvZdbYSpVYeTiHbALAaGVUaJKYVK8hsHlbFHryRsEGFGiV9/+QhNzWKod3fSx18krX5YZ83lRUG5ZL4I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729733390; c=relaxed/simple; bh=0EfI8lpJ/d1M7ToPiGlP4XTTVvuqHz8mMijjv717JiU=; h=Message-ID:From:To:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=m2cxbYPqVT/MrT+wKeRa9/mK92zrrFjpmsE7FK/7A/+miCfhLBjG8033Gb1FhcpWOzmIqYcu/MjwaTopV79PKha8XODheKEoA0LpeGPtAv0xf2ixEKlo25I3rHuA8hgFbKFmnG8qjDwhiSD+WxgtvLPK46qKr9d1581izJu5/9g= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=aE6gxYyJ; arc=fail smtp.client-ip=52.101.228.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="aE6gxYyJ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B6sneuqSrE+V0dSuSItrWKiGz0FPY+n01bTwQxmm2cRw4gpGWD6mgDpCHxm2t/ZVglVOpVK2NRDZy4lAxbxyHIFpcykP+X9q2l9r8FX+kxTkwQg/096qYk01M8yvru2VzadJVBUL5WoZ76C8LuIVtpiOKM8T8OtX+eSZa1tD3dvMKsR8aaAWzWl5gW1J+x2g9kLCdWakWLJH4iZOo+qj2Hl/Oru+8dhrhGKSGdspc8pRqtbBz2pW6oSotYdAuq9NTVoALUpfDVLsD2vvlcueODyvaCZ6vqmbxj6K1GBNzPbDnAhvf6PX0lGWN7oiDUX6ZEhksTP7wEYanc5BmfpVDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hbrvkCgaVVaTFZlSwfig2zrTR3k5ccQFevSTjedpV6c=; b=vxiq4Lwue6BJetPnnvjpdEmKCFPKghvj1BE50q2MI2vwkgwDcaG2rj+0j9r1IKiDph9AhX0SGgKmHtMhlunPDDxIwhutUXhEl60Ze2LXZ9nHeHLfA2nJDjFkCJzsNzXkrKUpkuGHhjW3gwpsPiq8datxO38fiEt0gvilAdA3IrSrQEwBivqbBit+KrEL7VoKc6T5suTQdhjryG6ORGmKYx71PdD08Zu2gzJUlSUglvRZrHS4lKNNTsQu6dk2o9ph2qT3RG4/2rrPHQZcMGQ+i57bEVP4ZvpAVmbuedYi+Ps6dgD16X2SRs4Fn5jc/mC+/xdH1VW49hlXZXF5SAVNaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hbrvkCgaVVaTFZlSwfig2zrTR3k5ccQFevSTjedpV6c=; b=aE6gxYyJN1fh7TJ+i+J8pbWoruTfYNRLbt920X5JItrwQNVrCX0hn7eMq2h0kHq5F9Emr6k/GqwI5IvAnNPPUjUlrxYSHBkB7ervqzdYKWiz/oCzH0g/pwowNmx4xoaclCVDmQOfQWovwlZc/WV2BMWnInquC3J3lF2buosrX4I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TYCPR01MB12111.jpnprd01.prod.outlook.com (2603:1096:400:43d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Thu, 24 Oct 2024 01:29:46 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.8093.014; Thu, 24 Oct 2024 01:29:46 +0000 Message-ID: <87sesmb852.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: Jaroslav Kysela <perex@perex.cz>, Jerome Brunet <jbrunet@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Shengjiu Wang <shengjiu.wang@gmail.com>, Takashi Iwai <tiwai@suse.com>, Vinod Koul <vkoul@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>, alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com In-Reply-To: <871q06cmsl.wl-kuninori.morimoto.gx@renesas.com> References: <871q06cmsl.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 6/8] ASoC: remove rtd->num User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Thu, 24 Oct 2024 01:29:45 +0000 X-ClientProxiedBy: TYCP301CA0031.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:380::8) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB12111:EE_ X-MS-Office365-Filtering-Correlation-Id: c66f9607-00db-4866-3e79-08dcf3cb580f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: T7eV/pYUjFgbBCZ+TFD0P4FJzI4JmVzKzOwysqXU0DlLeuT5zFEtJB7geazezmc24G80Z2B8awHj7KVMkd/3piYpk8ClKf9EKsROfOrpgzD4x8MxCF0pQYWRj4j1G8RrWQjIPE4aF7jn10o/QEl/eN6K7wukp9u/0waIILwoWs+Rd0+NlvKV529C4mScRKyZYB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s4BvpEByC+fZ/4TuCn9IlomvDH1StMLtv2Rih+foLd60n4EbbLBXWFAdevIglfH4fZQbfSxpMoNDEE7skLuggCGiE5aIMtSEhMoRkfwjrvKOKZFsYKRAP46wXluVq6hTvgurSn X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HHu6H28XtGocd5cp3iMAioggVghl5voa2HQBFshYyhmczz1kJIGw3XdQY2jqZ4qm5z5NLigkEfkc8YBWSjM+yPb+OqjjCglOriQP9bbfb9O8SJHoL2n4r2wchSW9SeC6sCs4WlXMFHk8jf4a8ur3IdgU11QjaT+NdVs1/ilR4psHQZIl/9rvZdzsrS0n6kmp9bqj2cCRrP+n1AoOO+551tpgeD91M4YjNMPsFxE5v8H0TKsVvV1TCUczTJUFOFfMDXNL9bMybty68JyQ39mHBpXNiKFam6gKDX4zhrED72cDeElYb7iuukY54RjhbJKxzFRGLwKzF80b5eRTr8G3yp202ZO5jSZRBbG68NCWfZt0xmV3MD97Jd8oR/6sXKxJzhXaVNTqnK5bDzT4Qsg4EugH1Kf2kfuTl+HZkmq2O3ZpJq0VU3U0vx1nrPXuWWRr2XLx1VZ82sLnXirlDfTWNV2W0GI76SukcFfMjadEFtvwA1Ibc2KixXwT0wqW02g0DpH2pULiUpzG5MDpAmmwlATP39vhymR7oxJv5Kb+e2UUAzhwhtDJyf/oV8LSibS45qskEeTKRUhhwUViDGOKnF5hxIR/X/022MKwXtx40084LzijgVSaadjbvt1QJ7gHJjKXk/xbPyZtTnBkI7VttZ9E23AO49HNEomhJeXvtY6osrLZznK20g1rWwKF3yv1qgtGYDhGwZts4A7HsoR/lbFMsAFDRyLdVni50NzcvwVWnv2KbMN/GzdSvG0B6bb0JeR7zqsPby8F6Dey3niGUkr4tOT2Bcr81Gdlz5hmaAMcIVI9RzxPuekD81OCQm5oyKEyGWmvBbrqyCXrnf1Z6uyGZCPBjcIdMFhQtvCmkWX9Iug0Iyc9+ul4+8fDLlBSeUGYy6X+/1CC5S0jVL1mcGPRM+98mGpgf8QTv3AtFi3a7uQqGCA+zSYJpqr9+hZCC/ehc/hIvj8hYRHpddZDjgBEEqLHakMRrHHPyz5oWt/+YgXSlsRwdIfqW/m4D6wBC0qC0wQF35yQ2SufdW2KFzIL5TI7EjIe42ks/aX2XOkNhIofhAVpwYEukIHxT47iyxdyGaEtNkD6Cair6JWf+Pl0TI3xn2IS70P6u7X/Vk3tQper8QRs4uF1Poc+IxP6YjF2eOah7pkKiUw9hW6kLlngjy7xc62W8hGk1TBi8gyK4u9rIGFBxft5obO7wLIT6q7+2q+wiskklcomc8iVntlW5N2MEMpIZn+D8sOduTZNR2eIFATFGazcsYuTLV1CZrQ4R/QtbK3BYgoiqWIcEvFEjnNJE9K1tJ6RZ08sZn74hB2XmYIY2UAlitZCtpvppJnNpImTf20PuHHAJVJcAPBtdQw+i8KL+Nx5KkyOoJQPPJaxIx7fcCX9WHGQQN8Ltq0ZOUdCqV5jP+usBFzHxY+bJm8apHBVL/HdaaHU6pqX9OILmJ65u72OL5G7BhAW4NPhpn/+W4BSt6DAQWYgXeoNbBr2sReu4z0WYkrkQ1goG8GoWtv827ZYU1iyEHMq41KwOLUyUVkfKr+EHSLF1jNluxiC0rk7cTrKk36NBNY5D5wAFuSvQwNFc+2Gunro4yOwUrZyPpZGvCzEK9qPLDyDSeic+mMsjch8sLu3A/g= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: c66f9607-00db-4866-3e79-08dcf3cb580f X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 01:29:46.2684 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5xXGUzxlLi+GTMZM7LeCXwt72pERjqZNOgayl/h7FH0TBq7Ui1YNnI7CaW04gXUDASj/P+dpSHo+e1yzlM+pzfBz2SJ4Vr4WXJ+DEPEvWLaADmQ5pySaRdjgOe0hz7gS X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB12111 |
Series |
ASoC: cleasnup rtd and its ID
|
expand
|
diff --git a/include/sound/soc.h b/include/sound/soc.h index 9acd3fbf7c7e1..828ab19258f0a 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1195,7 +1195,6 @@ struct snd_soc_pcm_runtime { struct dentry *debugfs_dpcm_root; #endif - unsigned int num; /* REMOVE ME */ unsigned int id; /* 0-based and monotonic increasing */ struct list_head list; /* rtd list of the soc card */ diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3cb7482791669..233c91e60f0cb 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -559,7 +559,6 @@ static struct snd_soc_pcm_runtime *soc_new_pcm_runtime( rtd->card = card; rtd->dai_link = dai_link; rtd->id = card->num_rtd++; - rtd->num = rtd->id; /* REMOVE ME */ rtd->pmdown_time = pmdown_time; /* default power off timeout */ /* see for_each_card_rtds */
No one is using rtd->num. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- include/sound/soc.h | 1 - sound/soc/soc-core.c | 1 - 2 files changed, 2 deletions(-)