aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-02-26 15:37:08 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:08 -0700
commit8665b184749dbb3b55313e60e27ff93296f95d18 (patch)
treeb99467cf03fe572717d230ff6ee00ac90e1ff221
parent4bee4f60344a880e7174a38051f6dede4f528b47 (diff)
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>
-rw-r--r--drivers/staging/slicoss/slicdbg.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/slicoss/slicdbg.h b/drivers/staging/slicoss/slicdbg.h
index b5643ced74f..cafe8b67de4 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_ */