X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Finitval.h;fp=include%2Fsound%2Finitval.h;h=d29e3d31d149eb7f2c46946046c8279e8a7914b8;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=2bf1508825a4cbac3897c1344cf109ec3ca7278b;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/sound/initval.h b/include/sound/initval.h index 2bf150882..d29e3d31d 100644 --- a/include/sound/initval.h +++ b/include/sound/initval.h @@ -50,20 +50,6 @@ #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