]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Intel: sst: remove unused ‘ret_val’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:35 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:34:34 +0000 (11:34 +0000)
commit7d7c80f3f335e5148e3f744534a0576e638cf581
treea42955fb28aeeb59b0e2b16dce9a3493e47dbed7
parentee9292e859bec2bd8b79b7d14bc352e9ea5d7257
ASoC: Intel: sst: remove unused ‘ret_val’

In sst_media_close(), 'ret_val' is initialized and assigned as return value
of stream ops close but never used. So remove it.

ound/soc/intel/atom/sst-mfld-platform-pcm.c: In function ‘sst_media_close’:
sound/soc/intel/atom/sst-mfld-platform-pcm.c:360:6: warning: variable ‘ret_val’ set but not used [-Wunused-but-set-variable]
  int ret_val = 0, str_id;

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst-mfld-platform-pcm.c