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: v3.12-rc1~35874^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65fd28f743be6e3e3fd8eefa9a517656636fee42;p=kernel%2Fkernel-generic.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 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 */