projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cecd8d0
)
[CCID3]: Remove ifdef surrounding BUG_ON
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 26 Sep 2007 22:38:55 +0000
(19:38 -0300)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Oct 2007 23:52:45 +0000
(16:52 -0700)
As suggested by DaveM.
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
net/dccp/ccids/ccid3.h
patch
|
blob
|
history
diff --git
a/net/dccp/ccids/ccid3.h
b/net/dccp/ccids/ccid3.h
index ae99ec430371bfefe91c72bfeafaebfd87ed8ad1..0cdc982cfe470f46a59210bf06d4a913164aed8e 100644
(file)
--- 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;
}