mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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>
This commit is contained in:
parent
4bee4f6034
commit
8665b18474
1 changed files with 0 additions and 14 deletions
|
@ -57,24 +57,10 @@
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
#else
|
||||||
#ifndef ASSERT
|
#ifndef ASSERT
|
||||||
#define ASSERT(a)
|
#define ASSERT(a)
|
||||||
#endif
|
#endif
|
||||||
#ifndef ASSERTMSG
|
|
||||||
#define ASSERTMSG(a, msg)
|
|
||||||
#endif
|
|
||||||
#endif /* SLIC_ASSERT_ENABLED */
|
#endif /* SLIC_ASSERT_ENABLED */
|
||||||
|
|
||||||
#endif /* _SLIC_DEBUG_H_ */
|
#endif /* _SLIC_DEBUG_H_ */
|
||||||
|
|
Loading…
Reference in a new issue