clear-pkgs-linux-iot-lts2018/0359-ASoC-rt700-Remove-unus...

28 lines
836 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Guneshwor Singh <guneshwor.o.singh@intel.com>
Date: Thu, 7 Sep 2017 09:56:44 +0530
Subject: [PATCH] ASoC: rt700: Remove unused variable
Compiler throws warning for unused variable, so remove it.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
---
sound/soc/codecs/rt700.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/rt700.c b/sound/soc/codecs/rt700.c
index a654c092b8c5..952140d5fbbe 100644
--- a/sound/soc/codecs/rt700.c
+++ b/sound/soc/codecs/rt700.c
@@ -1789,7 +1789,6 @@ static int rt700_runtime_resume(struct device *dev)
{
struct rt700_priv *rt700 = dev_get_drvdata(dev);
int ret;
- int timeout = 0;
if (rt700->sdw) {
ret = sdw_wait_for_slave_enumeration(rt700->sdw->mstr,
--
https://clearlinux.org