diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-10 07:26:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-10 07:26:24 +0200 |
commit | d108728ea24a766335ae22f10bfaf41f248fb70e (patch) | |
tree | 4733918894ccc02119b19fdee42cbd978868d05c /include/sound/core.h | |
parent | ab2f06cb6b7cc4cb782387a19fbfed3dfe8a8436 (diff) | |
parent | ef9dfa4b1052af23a603de382d4665b2d1fccc61 (diff) | |
download | linux-d108728ea24a766335ae22f10bfaf41f248fb70e.tar.bz2 |
Merge branch 'topic/cleanup' into for-linus
* topic/cleanup:
ALSA: Remove deprecated include/sound/driver.h
ALSA: Remove deprecated snd_card_new()
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 0e8ae10155ab..309cb9659a05 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); |