From: Greg Kroah-Hartman Date: Thu, 26 Feb 2009 23:37:08 +0000 (-0800) Subject: Staging: slicoss: remove ASSERTMSG macro X-Git-Tag: firefly_0821_release~14777^2~687 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8665b184749dbb3b55313e60e27ff93296f95d18;p=firefly-linux-kernel-4.4.55.git Staging: slicoss: remove ASSERTMSG macro No one uses it, so drop it. Cc: Lior Dotan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/slicoss/slicdbg.h b/drivers/staging/slicoss/slicdbg.h index b5643ced74fe..cafe8b67de4d 100644 --- a/drivers/staging/slicoss/slicdbg.h +++ b/drivers/staging/slicoss/slicdbg.h @@ -57,24 +57,10 @@ } \ } #endif -#ifndef ASSERTMSG -#define ASSERTMSG(a,msg) \ - { \ - if (!(a)) { \ - printk(KERN_ERR "ASSERT() Failure: file %s, function %s" \ - "line %d: %s\n",\ - __FILE__, __func__, __LINE__, (msg)); \ - slic_assert_fail(); \ - } \ - } -#endif #else #ifndef ASSERT #define ASSERT(a) #endif -#ifndef ASSERTMSG -#define ASSERTMSG(a, msg) -#endif #endif /* SLIC_ASSERT_ENABLED */ #endif /* _SLIC_DEBUG_H_ */