提交 65fd28f7 编写于 作者: D David S. Miller

[SCTP]: Fix unintentional change to SCTP_ASSERT when !SCTP_DEBUG

A local debugging change slipped into a previous changeset.

When SCTP_DEBUG is off SCTP_ASSERT should do nothing.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 48d83325
......@@ -255,7 +255,7 @@ extern int sctp_debug_flag;
#define SCTP_DEBUG_PRINTK_IPADDR(whatever...)
#define SCTP_ENABLE_DEBUG
#define SCTP_DISABLE_DEBUG
#define SCTP_ASSERT(expr, str, func) BUG_ON(!(expr))
#define SCTP_ASSERT(expr, str, func)
#endif /* SCTP_DEBUG */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册