Skip to contentSkip to conversation

ASoC: hdac_hdmi: Remove the unused 'timeout' variable

PATCH New Fabio Estevam 1 participant 1 message May 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: hdac_hdmi: Remove the unused 'timeout' variable

From: Fabio Estevam <[email protected]>

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.

---
 sound/soc/codecs/hdac_hdmi.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/hdac_hdmi.c +0 -1
index 3733297..181cd3b 100644
@@ -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;
Signature · 1 line
1.9.1