OSDN Git Service

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)
commit479879701758206a2cc75176119fcc9dacc40846
tree490996b5c3c1dc274c2dce8b9781307687426285
parentae061d2a857f84ad47b77b04c3ad37478651ab6c
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 ba57f68235cf ("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