]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] Remove snd_legacy_auto_probe()
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Nov 2005 16:22:43 +0000 (17:22 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:28:52 +0000 (12:28 +0100)
Modules: ALSA Core

Remove unsed snd_legacy_auto_probe() function.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/initval.h

index 2bf1508825a4cbac3897c1344cf109ec3ca7278b..d29e3d31d149eb7f2c46946046c8279e8a7914b8 100644 (file)
 #define SNDRV_DEFAULT_DMA_SIZE { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_DMA_SIZE }
 #define SNDRV_DEFAULT_PTR      SNDRV_DEFAULT_STR
 
-#ifdef SNDRV_LEGACY_AUTO_PROBE
-static int snd_legacy_auto_probe(unsigned long *ports, int (*probe)(unsigned long port))
-{
-       int result = 0; /* number of detected cards */
-
-       while ((signed long)*ports != -1) {
-               if (probe(*ports) >= 0)
-                       result++;
-               ports++;
-       }
-       return result;
-}
-#endif
-
 #ifdef SNDRV_LEGACY_FIND_FREE_IRQ
 #include <linux/interrupt.h>