diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2020-10-06 09:49:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-06 17:12:29 +0300 |
commit | eb062e47f7c8cc28f19ba8f897481c22d13db1ec (patch) | |
tree | fe34cce867b34ba26894c08245613dfc3ba5c4f1 /sound/soc/intel/common | |
parent | 720811f0e4ac5a31d38aaee20905692dd7150997 (diff) | |
download | linux-eb062e47f7c8cc28f19ba8f897481c22d13db1ec.tar.xz |
ASoC: Intel: Remove sst_dsp_get_thread_context
While sst_dsp_get_thread_context() is declared as solution-agnostic, it
is only used by /skylake/ solution. Majority of thread_context field
usages are direct accesses. Improve code cohesiveness and convert to
single usage model.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://lore.kernel.org/r/20201006064907.16277-14-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common')
-rw-r--r-- | sound/soc/intel/common/sst-dsp-priv.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/intel/common/sst-dsp-priv.h b/sound/soc/intel/common/sst-dsp-priv.h index 5a5ce5069f9f..de2b44568feb 100644 --- a/sound/soc/intel/common/sst-dsp-priv.h +++ b/sound/soc/intel/common/sst-dsp-priv.h @@ -98,9 +98,4 @@ struct sst_dsp { struct snd_dma_buffer dmab; }; -static inline void *sst_dsp_get_thread_context(struct sst_dsp *sst) -{ - return sst->thread_context; -} - #endif |