提交 5e9a3fcf 编写于 作者: A Axel Lin 提交者: Mark Brown

ASoC: tegra: Fix unused variable 'spdif' warning

Fix below build warning:
  CC [M]  sound/soc/tegra/tegra20_spdif.o
sound/soc/tegra/tegra20_spdif.c: In function 'tegra20_spdif_platform_remove':
sound/soc/tegra/tegra20_spdif.c:361:24: warning: unused variable 'spdif' [-Wunused-variable]
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Reviewed-by: NVaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 1d15f21d
......@@ -358,8 +358,6 @@ static int tegra20_spdif_platform_probe(struct platform_device *pdev)
static int tegra20_spdif_platform_remove(struct platform_device *pdev)
{
struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev);
pm_runtime_disable(&pdev->dev);
if (!pm_runtime_status_suspended(&pdev->dev))
tegra20_spdif_runtime_suspend(&pdev->dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册