ASoC: simple-card-utils: remove set but not used variable 'dai_name'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 25 Mar 2019 03:17:40 +0000 (03:17 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:32:28 +0000 (15:32 +0700)
commit35146467bd43704c52d1d5760af9839a10ad5b12
tree3b32a41035105e32bdce23a8d0e4e87de7276d22
parent0bbcedd6bb41b82b77115fc001441ff34e7c4ea7
ASoC: simple-card-utils: remove set but not used variable 'dai_name'

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

sound/soc/generic/simple-card-utils.c: In function 'asoc_simple_parse_clk':
sound/soc/generic/simple-card-utils.c:164:18: warning:
 parameter 'dai_name' set but not used [-Wunused-but-set-parameter]

It's not used since commit 0580dde59438 ("ASoC: simple-card-utils: add
asoc_simple_debug_info()"), so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c