summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-04-21 10:53:08 +0400
committerTakashi Iwai <tiwai@suse.de>2009-04-21 10:53:08 +0400
commitcd474f2d548af3c0eb932d9d47ec11483861aa6f (patch)
tree07604bcfecf83c01a4476a165a0615eca138a338
parentd91dfbb41bb2e9bdbfbd2cc7078ed7436eab027a (diff)
downloadlinux-cd474f2d548af3c0eb932d9d47ec11483861aa6f.tar.xz
ALSA: Remove deprecated snd_card_new()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index 3dea79829acc..a26bbdcc6765 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -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);