summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-05-16 09:50:07 -0300
committerMark Brown <broonie@kernel.org>2016-05-17 11:31:55 +0100
commit29cf67b99527296e9c9b9f6995c1d271d21f79c0 (patch)
tree6f81c1dcd4b20077b4d76076685723ba3d93bc85
parent515511a7920c69aebf7f5fef0cb8e1df6767f34c (diff)
downloadlinux-stable-29cf67b99527296e9c9b9f6995c1d271d21f79c0.tar.gz
linux-stable-29cf67b99527296e9c9b9f6995c1d271d21f79c0.tar.bz2
linux-stable-29cf67b99527296e9c9b9f6995c1d271d21f79c0.zip
ASoC: hdac_hdmi: Remove the unused 'timeout' variable
Commit b2047e996cd88d3 ("ASoC: hdac_hdmi: add link management") introuduced the following build warning: sound/soc/codecs/hdac_hdmi.c:1721:16: warning: unused variable 'timeout' [-Wunused-variable] Remove the unused 'timeout' variable. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/hdac_hdmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c
index 37332976ccbb..181cd3bf0b92 100644
--- a/sound/soc/codecs/hdac_hdmi.c
+++ b/sound/soc/codecs/hdac_hdmi.c
@@ -1718,7 +1718,6 @@ static int hdac_hdmi_runtime_suspend(struct device *dev)
struct hdac_ext_device *edev = to_hda_ext_device(dev);
struct hdac_device *hdac = &edev->hdac;
struct hdac_bus *bus = hdac->bus;
- unsigned long timeout;
struct hdac_ext_bus *ebus = hbus_to_ebus(bus);
struct hdac_ext_link *hlink = NULL;
int err;