From: Jiri Slaby <jslaby@suse.cz>
Date: Sat, 4 Sep 2010 13:12:09 +0000 (+0200)
Subject: ASoC: wm8753, remove dead code
X-Git-Tag: firefly_0821_release~3680^2~2691^2~1226^2~454
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e6929378071a1ef68d1dc2f10c0b4a1bcc603f4c;p=firefly-linux-kernel-4.4.55.git

ASoC: wm8753, remove dead code

There is adangling code in wm8753_probe which is never executed.
Remove it.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 484423248c26..4a945d3edf25 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1600,9 +1600,6 @@ static int wm8753_probe(struct snd_soc_codec *codec)
 	wm8753_add_widgets(codec);
 
 	return 0;
-
-	run_delayed_work(&codec->delayed_work);
-	return ret;
 }
 
 /* power down chip */