diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2021-09-20 08:41:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-20 14:38:10 +0200 |
commit | 600e0ae9aa7175d777cbac16d0d3bbbebe63e2a5 (patch) | |
tree | c700836b328062d9c4053b03d205e983f087fbea /sound/soc/sof/sof-priv.h | |
parent | ASoC: rt5682s: make rt5682s_aif2_dai_ops and rt5682s_soc_component_dev (diff) | |
download | linux-600e0ae9aa7175d777cbac16d0d3bbbebe63e2a5.tar.xz linux-600e0ae9aa7175d777cbac16d0d3bbbebe63e2a5.zip |
ASoC: SOF: Remove struct sof_ops_table and sof_get_ops() macro
sof_get_ops() is not used and the struct sof_ops_table is only used by that
macro.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210920064156.4763-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 9b1bdba15c74..6b1dbae3344c 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -294,12 +294,6 @@ struct dsp_arch_ops { #define sof_dsp_arch_ops(sdev) ((sdev)->pdata->desc->ops->dsp_arch_ops) -/* DSP device HW descriptor mapping between bus ID and ops */ -struct sof_ops_table { - const struct sof_dev_desc *desc; - const struct snd_sof_dsp_ops *ops; -}; - /* FS entry for debug files that can expose DSP memories, registers */ struct snd_sof_dfsentry { size_t size; |