aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sound/core.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index b3d8ac7c832b..f52ab6f3ca6e 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -383,11 +383,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...)
383 printk(fmt ,##args) 383 printk(fmt ,##args)
384#endif 384#endif
385 385
386#define snd_BUG() do { \ 386#define snd_BUG() WARN(1, "BUG?\n")
387 snd_printk(KERN_ERR "BUG?\n"); \
388 dump_stack(); \
389} while (0)
390
391#define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond)) 387#define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond))
392 388
393#else /* !CONFIG_SND_DEBUG */ 389#else /* !CONFIG_SND_DEBUG */