ALSA: Kill snd_assert() in sound/isa/*

Kill snd_assert() in sound/isa/*, either removed or replaced with
if () with snd_BUG_ON().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Takashi Iwai
2008-08-08 17:11:45 +02:00
committato da Jaroslav Kysela
parent 7eaa943c8e
commit 622207dc31
18 ha cambiato i file con 80 aggiunte e 42 eliminazioni

Vedi File

@@ -156,7 +156,8 @@ snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
struct snd_emu8000 *emu;
emu = rec->hw;
snd_assert(sp != NULL, return -EINVAL);
if (snd_BUG_ON(!sp))
return -EINVAL;
if (sp->v.size == 0)
return 0;