From: David S. Miller Date: Tue, 20 Jun 2006 07:07:52 +0000 (-0700) Subject: [SCTP]: Fix unintentional change to SCTP_ASSERT when !SCTP_DEBUG X-Git-Tag: v2.6.18-rc1~1099^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=65fd28f743be6e3e3fd8eefa9a517656636fee42;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index b2b40f951ae..aa6033ca7cd 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 */