diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-27 02:37:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-04 01:53:08 +0400 |
commit | 8665b184749dbb3b55313e60e27ff93296f95d18 (patch) | |
tree | b99467cf03fe572717d230ff6ee00ac90e1ff221 /drivers/staging/slicoss | |
parent | 4bee4f60344a880e7174a38051f6dede4f528b47 (diff) | |
download | linux-8665b184749dbb3b55313e60e27ff93296f95d18.tar.xz |
Staging: slicoss: remove ASSERTMSG macro
No one uses it, so drop it.
Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/slicoss')
-rw-r--r-- | drivers/staging/slicoss/slicdbg.h | 14 |
1 files changed, 0 insertions, 14 deletions
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_ */ |