ASoC: hdac_hdmi: remove ununsed variable 'timeout'
diff mbox

Message ID 1463502786-18127-1-git-send-email-colin.king@canonical.com
State New
Headers show

Commit Message

Colin King May 17, 2016, 4:33 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Fix build warning by removing unused variable timeout

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/codecs/hdac_hdmi.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown May 17, 2016, 4:40 p.m. UTC | #1
On Tue, May 17, 2016 at 05:33:06PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Fix build warning by removing unused variable timeout

Another patch for this got merged already.

Patch
diff mbox

diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c
index 3733297..181cd3b 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;