Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: sof-priv: Remove unused SOF_DAI_STREAM() and SOF_FORMATS

The following definitions have no users: SOF_DAI_STREAM() and SOF_FORMATS,
they can be dropped from the header file.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20241213131717.24071-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Peter Ujfalusi and committed by
Mark Brown
f851b987 e4b3a845

-8
-8
sound/soc/sof/sof-priv.h
··· 76 76 #define SOF_IPC_DSP_REPLY 0 77 77 #define SOF_IPC_HOST_REPLY 1 78 78 79 - /* convenience constructor for DAI driver streams */ 80 - #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ 81 - {.stream_name = sname, .channels_min = scmin, .channels_max = scmax, \ 82 - .rates = srates, .formats = sfmt} 83 - 84 - #define SOF_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \ 85 - SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_FLOAT) 86 - 87 79 /* So far the primary core on all DSPs has ID 0 */ 88 80 #define SOF_DSP_PRIMARY_CORE 0 89 81