Skip to content

Commit f851b98

Browse files
ujfalusibroonie
authored andcommitted
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>
1 parent e4b3a84 commit f851b98

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

sound/soc/sof/sof-priv.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ bool sof_debug_check_flag(int mask);
7676
#define SOF_IPC_DSP_REPLY 0
7777
#define SOF_IPC_HOST_REPLY 1
7878

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-
8779
/* So far the primary core on all DSPs has ID 0 */
8880
#define SOF_DSP_PRIMARY_CORE 0
8981

0 commit comments

Comments
 (0)