mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
48d83325b6
commit
65fd28f743
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue