Skip to content

Commit af71b3a

Browse files
ujfalusiranj063
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>
1 parent 346a4c9 commit af71b3a

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
@@ -80,14 +80,6 @@ bool sof_debug_check_flag(int mask);
8080
#define SOF_IPC_DSP_REPLY 0
8181
#define SOF_IPC_HOST_REPLY 1
8282

83-
/* convenience constructor for DAI driver streams */
84-
#define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \
85-
{.stream_name = sname, .channels_min = scmin, .channels_max = scmax, \
86-
.rates = srates, .formats = sfmt}
87-
88-
#define SOF_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
89-
SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_FLOAT)
90-
9183
/* So far the primary core on all DSPs has ID 0 */
9284
#define SOF_DSP_PRIMARY_CORE 0
9385

0 commit comments

Comments
 (0)