From 475cb2fac7093c94b21627f7ff3be89730f2c215 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 3 Mar 2009 11:28:26 +0000 Subject: ASoC: Remove #if 0 code from GTA02 More code cleanup. Signed-off-by: Mark Brown --- sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sound') diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c index 8e2c7fd9725..ade08e18928 100644 --- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c @@ -488,10 +488,6 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec) /* Add neo1973 gta02 specific widgets */ snd_soc_dapm_new_controls(codec, wm8753_dapm_widgets, ARRAY_SIZE(wm8753_dapm_widgets)); -#if 0 - for (i = 0; i < ARRAY_SIZE(wm8753_dapm_widgets); i++) - snd_soc_dapm_new_control(codec, &wm8753_dapm_widgets[i]); -#endif /* add neo1973 gta02 specific controls */ for (i = 0; i < ARRAY_SIZE(wm8753_neo1973_gta02_controls); i++) { @@ -502,13 +498,7 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec) return err; } - /* set up neo1973 gta02 specific audio path audio_mapnects */ -#if 0 - for (i = 0; audio_map[i][0] != NULL; i++) { - snd_soc_dapm_connect_input(codec, audio_map[i][0], - audio_map[i][1], audio_map[i][2]); - } -#endif + /* set up neo1973 gta02 specific audio path audio_map */ snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map)); /* set endpoints to default off mode */ -- cgit v1.2.3