summaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2007-09-27 00:38:55 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:52:45 +0200
commitbb293e6a24cc2031f74775d95925e003e7250232 (patch)
treeaac9c26203189543a0818e3ec11c7be8df7133ac /net/dccp/ccids/ccid3.h
parent[DCCP]: Reduce the number of writable states (diff)
downloadlinux-bb293e6a24cc2031f74775d95925e003e7250232.tar.xz
linux-bb293e6a24cc2031f74775d95925e003e7250232.zip
[CCID3]: Remove ifdef surrounding BUG_ON
As suggested by DaveM. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
-rw-r--r--net/dccp/ccids/ccid3.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h
index ae99ec430371..0cdc982cfe47 100644
--- a/net/dccp/ccids/ccid3.h
+++ b/net/dccp/ccids/ccid3.h
@@ -120,9 +120,7 @@ struct ccid3_hc_tx_sock {
static inline struct ccid3_hc_tx_sock *ccid3_hc_tx_sk(const struct sock *sk)
{
struct ccid3_hc_tx_sock *hctx = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid);
-#ifdef CONFIG_IP_DCCP_CCID3_DEBUG
BUG_ON(hctx == NULL);
-#endif
return hctx;
}
@@ -173,9 +171,7 @@ struct ccid3_hc_rx_sock {
static inline struct ccid3_hc_rx_sock *ccid3_hc_rx_sk(const struct sock *sk)
{
struct ccid3_hc_rx_sock *hcrx = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid);
-#ifdef CONFIG_IP_DCCP_CCID3_DEBUG
BUG_ON(hcrx == NULL);
-#endif
return hcrx;
}