Skip to content

Commit

Permalink
Merge branch 'topic/cleanup' into for-linus
Browse files Browse the repository at this point in the history
* topic/cleanup:
  ALSA: Remove deprecated include/sound/driver.h
  ALSA: Remove deprecated snd_card_new()
  • Loading branch information
Takashi Iwai committed Jun 10, 2009
2 parents ab2f06c + ef9dfa4 commit d108728
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions include/sound/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion include/sound/driver.h

This file was deleted.

0 comments on commit d108728

Please sign in to comment.