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>
这个提交包含在:
@@ -1023,7 +1023,8 @@ snd_emu8000_create_mixer(struct snd_card *card, struct snd_emu8000 *emu)
|
||||
{
|
||||
int i, err = 0;
|
||||
|
||||
snd_assert(emu != NULL && card != NULL, return -EINVAL);
|
||||
if (snd_BUG_ON(!emu || !card))
|
||||
return -EINVAL;
|
||||
|
||||
spin_lock_init(&emu->control_lock);
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户