ALSA: Remove deprecated snd_card_new()
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 06:53:08 +0000 (08:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 06:53:08 +0000 (08:53 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h

index 3dea79829acc0c53673533d421aa9ca15f3b9c06..a26bbdcc676524a8c35a7cd48db5d701b94ddd2e 100644 (file)
@@ -300,16 +300,6 @@ int snd_card_create(int idx, const char *id,
                    struct module *module, int extra_size,
                    struct snd_card **card_ret);
 
-static inline __deprecated
-struct snd_card *snd_card_new(int idx, const char *id,
-                             struct module *module, int extra_size)
-{
-       struct snd_card *card;
-       if (snd_card_create(idx, id, module, extra_size, &card) < 0)
-               return NULL;
-       return card;
-}
-
 int snd_card_disconnect(struct snd_card *card);
 int snd_card_free(struct snd_card *card);
 int snd_card_free_when_closed(struct snd_card *card);
This page took 0.028723 seconds and 5 git commands to generate.