git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Kill snd_assert() in sound/isa/*
[safe/jmp/linux-2.6]
/
sound
/
isa
/
opti9xx
/
miro.c
diff --git
a/sound/isa/opti9xx/miro.c
b/sound/isa/opti9xx/miro.c
index
4641daa
..
440755c
100644
(file)
--- a/
sound/isa/opti9xx/miro.c
+++ b/
sound/isa/opti9xx/miro.c
@@
-675,7
+675,8
@@
static int __devinit snd_miro_mixer(struct snd_miro *miro)
unsigned int idx;
int err;
- snd_assert(miro != NULL && miro->card != NULL, return -EINVAL);
+ if (snd_BUG_ON(!miro || !miro->card))
+ return -EINVAL;
card = miro->card;