diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 11:07:52 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 11:07:52 +0400 |
commit | 65fd28f743be6e3e3fd8eefa9a517656636fee42 (patch) | |
tree | c0534240f34ad9cf7c90ac844691e6f4f62a1941 /include/net | |
parent | 48d83325b61043e3bbd24dd37b9fe433744cf330 (diff) | |
download | linux-65fd28f743be6e3e3fd8eefa9a517656636fee42.tar.xz |
[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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sctp/sctp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index b2b40f951ae6..aa6033ca7cd8 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h @@ -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 */ |