From b3ca24dfced9f5260c26b56f7c3dc855fb457c12 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 8 Aug 2008 17:18:08 +0200 Subject: [PATCH] --- yaml --- r: 110890 b: refs/heads/master c: bdbecf50064b75ecce2e10ce2621de0d0fac7de6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/sound/core.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 6071a576893e..e1139e1c2897 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7cc6dffdae28058f5953fac5743b6abf705d4f05 +refs/heads/master: bdbecf50064b75ecce2e10ce2621de0d0fac7de6 diff --git a/trunk/include/sound/core.h b/trunk/include/sound/core.h index b3d8ac7c832b..f52ab6f3ca6e 100644 --- a/trunk/include/sound/core.h +++ b/trunk/include/sound/core.h @@ -383,11 +383,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) printk(fmt ,##args) #endif -#define snd_BUG() do { \ - snd_printk(KERN_ERR "BUG?\n"); \ - dump_stack(); \ -} while (0) - +#define snd_BUG() WARN(1, "BUG?\n") #define snd_BUG_ON(cond) WARN((cond), "BUG? (%s)\n", __stringify(cond)) #else /* !CONFIG_SND_DEBUG */