Skip to contentSkip to conversation

ALSA: Remove deprecated snd_card_create()

PATCH New Takashi Iwai 1 participant 1 message May 23, 2014 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: Remove deprecated snd_card_create()

Now all calls have been fixed, let's get rid of the old definition.

---
 include/sound/core.h | 7 -------
 1 file changed, 7 deletions(-)
include/sound/core.h +0 -7
index d3f5f818e0b9..eedda2cdfe57 100644
@@ -282,13 +282,6 @@ int snd_card_new(struct device *parent, int idx, const char *xid,
 		 struct module *module, int extra_size,
 		 struct snd_card **card_ret);
 
-static inline int __deprecated
-snd_card_create(int idx, const char *id, struct module *module, int extra_size,
-		struct snd_card **ret)
-{
-	return snd_card_new(NULL, idx, id, module, extra_size, ret);
-}
-
 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);
Signature · 1 line
1.9.3