Skip to content

Commit

Permalink
[SCTP]: Fix unintentional change to SCTP_ASSERT when !SCTP_DEBUG
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jun 20, 2006
1 parent 48d8332 commit 65fd28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/sctp/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 65fd28f

Please sign in to comment.