[alsa-devel] [PATCH -mm] sound/pci/au88x0/au88x0.c remove unused code

Michal Piotrowski michal.k.k.piotrowski at gmail.com
Sun Mar 25 17:50:40 CEST 2007


This patch is against the latest -mm snapshot.

Regards,
Michal

-- 
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski at gmail.com>

--- linux-work5/sound/pci/au88x0/au88x0.c	2007-02-04 19:44:54.000000000 +0100
+++ linux-work3/sound/pci/au88x0/au88x0.c	2007-03-25 17:10:42.000000000 +0200
@@ -313,23 +313,6 @@ snd_vortex_probe(struct pci_dev *pci, co
 
 	vortex_gameport_register(chip);
 
-#if 0
-	if (snd_seq_device_new(card, 1, SNDRV_SEQ_DEV_ID_VORTEX_SYNTH,
-			       sizeof(snd_vortex_synth_arg_t), &wave) < 0
-	    || wave == NULL) {
-		snd_printk(KERN_ERR "Can't initialize Aureal wavetable synth\n");
-	} else {
-		snd_vortex_synth_arg_t *arg;
-
-		arg = SNDRV_SEQ_DEVICE_ARGPTR(wave);
-		strcpy(wave->name, "Aureal Synth");
-		arg->hwptr = vortex;
-		arg->index = 1;
-		arg->seq_ports = seq_ports[dev];
-		arg->max_voices = max_synth_voices[dev];
-	}
-#endif
-
 	// (5)
 	if ((err = pci_read_config_word(pci, PCI_DEVICE_ID,
 				  &(chip->device))) < 0) {



More information about the Alsa-devel mailing list