]> 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)
commitd7c22a4785d555874a4f058f9da95cc44ddb9f5c
tree490996b5c3c1dc274c2dce8b9781307687426285
parentde85d105c9ba18b23ad1cec481d11c913eefa052
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 e72fd7377e42 ("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