]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Haswell: Remove set but not used variable 'stage_type'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 18 Apr 2019 02:48:48 +0000 (10:48 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Apr 2019 16:00:59 +0000 (17:00 +0100)
commit51945c939edc8e004e2f83778eaef1cbd72d67dd
tree490996b5c3c1dc274c2dce8b9781307687426285
parent978ae25a6079a1a2ebdd47aafa1a3bf70301b1fa
ASoC: Intel: Haswell: Remove set but not used variable 'stage_type'

Fixes gcc '-Wunused-but-set-variable' warning:

sound/soc/intel/haswell/sst-haswell-ipc.c: In function 'hsw_stream_message':
sound/soc/intel/haswell/sst-haswell-ipc.c:669:29: warning: variable 'stage_type' set but not used [-Wunused-but-set-variable]

It is never used since introduction in
commit a97a55a9ec39 ("ASoC: Intel: create haswell folder and move haswell platform files in")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/haswell/sst-haswell-ipc.c