diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-08 18:31:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-15 12:20:04 +0100 |
commit | cf90c8245bb0d528a8046b4bfa4f223320c9dbb0 (patch) | |
tree | f8df39e7aa7d1239393b73b3732fd3f4e66326ee /sound/soc/intel/atom/sst | |
parent | ASoC: Intel: Skylake: remove unused 'ret' (diff) | |
download | linux-cf90c8245bb0d528a8046b4bfa4f223320c9dbb0.tar.xz linux-cf90c8245bb0d528a8046b4bfa4f223320c9dbb0.zip |
ASoC: Intel: sst: remove unused 'ops'
In sst_free_stream(), a variable 'ops' is initialized but
not used. So remove it.
sound/soc/intel/atom/sst/sst_stream.c: In function ‘sst_free_stream’:
sound/soc/intel/atom/sst/sst_stream.c:397:24: warning: variable ‘ops’ set but not used [-Wunused-but-set-variable]
struct intel_sst_ops *ops;
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst')
-rw-r--r-- | sound/soc/intel/atom/sst/sst_stream.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/intel/atom/sst/sst_stream.c b/sound/soc/intel/atom/sst/sst_stream.c index 51bdeeecb7c8..83d8dda15233 100644 --- a/sound/soc/intel/atom/sst/sst_stream.c +++ b/sound/soc/intel/atom/sst/sst_stream.c @@ -394,7 +394,6 @@ int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) { int retval = 0; struct stream_info *str_info; - struct intel_sst_ops *ops; dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_free_stream for %d\n", str_id); @@ -407,7 +406,6 @@ int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_info = get_stream_info(sst_drv_ctx, str_id); if (!str_info) return -EINVAL; - ops = sst_drv_ctx->ops; mutex_lock(&str_info->lock); if (str_info->status != STREAM_UN_INIT) { |