소스 검색

Merge branch 'topic/cleanup' into for-linus

* topic/cleanup:
  ALSA: Remove deprecated include/sound/driver.h
  ALSA: Remove deprecated snd_card_new()
Takashi Iwai 16 년 전
부모
커밋
d108728ea2
2개의 변경된 파일0개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 10
      include/sound/core.h
  2. 0 1
      include/sound/driver.h

+ 0 - 10
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);

+ 0 - 1
include/sound/driver.h

@@ -1 +0,0 @@
-#warning "This file is deprecated"