[RFC][PATCH] Get rid of dead code in sound/pci/ac97/ac97_patch.c

From: Michal Piotrowski
Date: Tue Jul 31 2007 - 16:38:25 EST


Hi,

File /home/devel/linux-rdc/sound/pci/ac97/ac97_patch.c line 484
Unknown CONFIG option! CONFIG_TOUCHSCREEN_WM9705

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx>

--- linux-rdc-clean/sound/pci/ac97/ac97_patch.c 2007-07-09 01:32:17.000000000 +0200
+++ linux-rdc/sound/pci/ac97/ac97_patch.c 2007-07-31 17:26:32.000000000 +0200
@@ -481,10 +481,7 @@ static int patch_wolfson05(struct snd_ac
{
/* WM9705, WM9710 */
ac97->build_ops = &patch_wolfson_wm9705_ops;
-#ifdef CONFIG_TOUCHSCREEN_WM9705
- /* WM9705 touchscreen uses AUX and VIDEO for touch */
- ac97->flags |= AC97_HAS_NO_VIDEO | AC97_HAS_NO_AUX;
-#endif
+
return 0;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/