diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 00:07:52 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-20 00:07:52 -0700 |
commit | 65fd28f743be6e3e3fd8eefa9a517656636fee42 (patch) | |
tree | c0534240f34ad9cf7c90ac844691e6f4f62a1941 /include/net/sctp | |
parent | 48d83325b61043e3bbd24dd37b9fe433744cf330 (diff) | |
download | op-kernel-dev-65fd28f743be6e3e3fd8eefa9a517656636fee42.zip op-kernel-dev-65fd28f743be6e3e3fd8eefa9a517656636fee42.tar.gz |
[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 b2b40f9..aa6033c 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 */ |