projects
/
deliverable
/
linux.git
/ 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/core/*
[deliverable/linux.git]
/
sound
/
core
/
init.c
diff --git
a/sound/core/init.c
b/sound/core/init.c
index df46bbc25dc2da7dccf2872abbae76837693e3ba..8af467df9245823a2ea5c96981e161d42ed63734 100644
(file)
--- a/
sound/core/init.c
+++ b/
sound/core/init.c
@@
-545,7
+545,8
@@
int snd_card_register(struct snd_card *card)
{
int err;
- snd_assert(card != NULL, return -EINVAL);
+ if (snd_BUG_ON(!card))
+ return -EINVAL;
#ifndef CONFIG_SYSFS_DEPRECATED
if (!card->card_dev) {
card->card_dev = device_create_drvdata(sound_class, card->dev,
This page took
0.036364 seconds
and
5
git commands to generate.