Skip to content

Commit d108728

Browse files
committed
Merge branch 'topic/cleanup' into for-linus
* topic/cleanup: ALSA: Remove deprecated include/sound/driver.h ALSA: Remove deprecated snd_card_new()
2 parents ab2f06c + ef9dfa4 commit d108728

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

‎include/sound/core.h‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -300,16 +300,6 @@ int snd_card_create(int idx, const char *id,
300300
struct module *module, int extra_size,
301301
struct snd_card **card_ret);
302302

303-
static inline __deprecated
304-
struct snd_card *snd_card_new(int idx, const char *id,
305-
struct module *module, int extra_size)
306-
{
307-
struct snd_card *card;
308-
if (snd_card_create(idx, id, module, extra_size, &card) < 0)
309-
return NULL;
310-
return card;
311-
}
312-
313303
int snd_card_disconnect(struct snd_card *card);
314304
int snd_card_free(struct snd_card *card);
315305
int snd_card_free_when_closed(struct snd_card *card);

‎include/sound/driver.h‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)