summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-20 00:07:52 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-20 00:07:52 -0700
commit65fd28f743be6e3e3fd8eefa9a517656636fee42 (patch)
treec0534240f34ad9cf7c90ac844691e6f4f62a1941 /include
parent48d83325b61043e3bbd24dd37b9fe433744cf330 (diff)
downloadtalos-obmc-linux-65fd28f743be6e3e3fd8eefa9a517656636fee42.tar.gz
talos-obmc-linux-65fd28f743be6e3e3fd8eefa9a517656636fee42.zip
[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')
-rw-r--r--include/net/sctp/sctp.h2
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 */
OpenPOWER on IntegriCloud