From: Pierre-Louis Bossart Date: Fri, 2 Aug 2024 12:46:09 +0000 (+0200) Subject: ASoC: SOF: sof-audio.h: optimize snd_sof_pcm_stream_pipeline_list X-Git-Tag: v6.12-rc1~169^2~1^2~101^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5821d7b4981f4915ab353f538be38defe9656f81;p=thirdparty%2Fkernel%2Fstable.git ASoC: SOF: sof-audio.h: optimize snd_sof_pcm_stream_pipeline_list Invert members to remove hole. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Péter Ujfalusi Link: https://patch.msgid.link/20240802124609.188954-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/sof-audio.h b/sound/soc/sof/sof-audio.h index 49be02234fc38..b9b8b64768b97 100644 --- a/sound/soc/sof/sof-audio.h +++ b/sound/soc/sof/sof-audio.h @@ -314,12 +314,12 @@ struct sof_token_info { /** * struct snd_sof_pcm_stream_pipeline_list - List of pipelines associated with a PCM stream - * @count: number of pipeline widgets in the @pipe_widgets array * @pipelines: array of pipelines + * @count: number of pipeline widgets in the @pipe_widgets array */ struct snd_sof_pcm_stream_pipeline_list { - u32 count; struct snd_sof_pipeline **pipelines; + u32 count; }; /* PCM stream, mapped to FW component */