diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 03:07:52 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 03:07:52 -0400 |
commit | 65fd28f743be6e3e3fd8eefa9a517656636fee42 (patch) | |
tree | c0534240f34ad9cf7c90ac844691e6f4f62a1941 /include/net/sctp | |
parent | 48d83325b61043e3bbd24dd37b9fe433744cf330 (diff) |
[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/sctp')
-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; | |||
255 | #define SCTP_DEBUG_PRINTK_IPADDR(whatever...) | 255 | #define SCTP_DEBUG_PRINTK_IPADDR(whatever...) |
256 | #define SCTP_ENABLE_DEBUG | 256 | #define SCTP_ENABLE_DEBUG |
257 | #define SCTP_DISABLE_DEBUG | 257 | #define SCTP_DISABLE_DEBUG |
258 | #define SCTP_ASSERT(expr, str, func) BUG_ON(!(expr)) | 258 | #define SCTP_ASSERT(expr, str, func) |
259 | 259 | ||
260 | #endif /* SCTP_DEBUG */ | 260 | #endif /* SCTP_DEBUG */ |
261 | 261 | ||