Applied "ASoC: simple-card-utils: remove set but not used variable 'dai_name'" to the asoc tree
Mark Brown
maintainerThe patch
ASoC: simple-card-utils: remove set but not used variable 'dai_name'
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
35146467bd43704c52d1d5760af9839a10ad5b12Mon Sep 17 00:00:00 2001
From: YueHaibing <[email protected]>
Date: Mon, 25 Mar 2019 03:17:40 +0000
Subject: [PATCH] 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.
--- sound/soc/generic/simple-card-utils.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
sound/soc/generic/simple-card-utils.c +1 -3
@@ -173,10 +173,8 @@ int asoc_simple_parse_clk(struct device *dev,* see * soc-core.c :: snd_soc_init_multicodec() */ -if (dlc) { +if (dlc) dai_of_node = dlc->of_node; - dai_name = dlc->dai_name; - }/* * Parse dai->sysclk come from "clocks = <&xxx>"
Signature · 1 line
2.20.1