[alsa-devel] [PATCH 1/1] SOUND: wm8753, remove dead code

Jiri Slaby jslaby at suse.cz
Sat Sep 4 15:12:09 CEST 2010


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

Signed-off-by: Jiri Slaby <jslaby at suse.cz>
Cc: Liam Girdwood <lg at opensource.wolfsonmicro.com>
Cc: Takashi Iwai <tiwai at suse.de>
Cc: Jaroslav Kysela <perex at suse.cz>
---
 sound/soc/codecs/wm8753.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 4844232..4a945d3 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 */
-- 
1.7.2.2




More information about the Alsa-devel mailing list