[alsa-devel] [PATCH 1/1] SOUND: wm8753, remove dead code
Liam Girdwood
lrg at slimlogic.co.uk
Mon Sep 6 12:32:30 CEST 2010
On Sat, 2010-09-04 at 15:12 +0200, Jiri Slaby wrote:
> 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 */
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list