diff options
| author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2007-09-26 18:38:55 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:45 -0400 |
| commit | bb293e6a24cc2031f74775d95925e003e7250232 (patch) | |
| tree | aac9c26203189543a0818e3ec11c7be8df7133ac /net | |
| parent | cecd8d0ec4cb4fec728f67163bb0a78f80c292eb (diff) | |
[CCID3]: Remove ifdef surrounding BUG_ON
As suggested by DaveM.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'net')
| -rw-r--r-- | net/dccp/ccids/ccid3.h | 4 |
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 { | |||
| 120 | static inline struct ccid3_hc_tx_sock *ccid3_hc_tx_sk(const struct sock *sk) | 120 | static inline struct ccid3_hc_tx_sock *ccid3_hc_tx_sk(const struct sock *sk) |
| 121 | { | 121 | { |
| 122 | struct ccid3_hc_tx_sock *hctx = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid); | 122 | struct ccid3_hc_tx_sock *hctx = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid); |
| 123 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG | ||
| 124 | BUG_ON(hctx == NULL); | 123 | BUG_ON(hctx == NULL); |
| 125 | #endif | ||
| 126 | return hctx; | 124 | return hctx; |
| 127 | } | 125 | } |
| 128 | 126 | ||
| @@ -173,9 +171,7 @@ struct ccid3_hc_rx_sock { | |||
| 173 | static inline struct ccid3_hc_rx_sock *ccid3_hc_rx_sk(const struct sock *sk) | 171 | static inline struct ccid3_hc_rx_sock *ccid3_hc_rx_sk(const struct sock *sk) |
| 174 | { | 172 | { |
| 175 | struct ccid3_hc_rx_sock *hcrx = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid); | 173 | struct ccid3_hc_rx_sock *hcrx = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid); |
| 176 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG | ||
| 177 | BUG_ON(hcrx == NULL); | 174 | BUG_ON(hcrx == NULL); |
| 178 | #endif | ||
| 179 | return hcrx; | 175 | return hcrx; |
| 180 | } | 176 | } |
| 181 | 177 | ||
