diff options
Diffstat (limited to 'net/dccp/feat.c')
-rw-r--r-- | net/dccp/feat.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/dccp/feat.c b/net/dccp/feat.c index 077f78d579c4..a0d5891a37bf 100644 --- a/net/dccp/feat.c +++ b/net/dccp/feat.c | |||
@@ -1124,22 +1124,9 @@ int dccp_feat_init(struct sock *sk) | |||
1124 | INIT_LIST_HEAD(&dmsk->dccpms_pending); /* XXX no longer used */ | 1124 | INIT_LIST_HEAD(&dmsk->dccpms_pending); /* XXX no longer used */ |
1125 | INIT_LIST_HEAD(&dmsk->dccpms_conf); /* XXX no longer used */ | 1125 | INIT_LIST_HEAD(&dmsk->dccpms_conf); /* XXX no longer used */ |
1126 | 1126 | ||
1127 | /* CCID L */ | ||
1128 | rc = __feat_register_sp(&dp->dccps_featneg, DCCPF_CCID, 1, 0, | ||
1129 | &dmsk->dccpms_tx_ccid, 1); | ||
1130 | if (rc) | ||
1131 | goto out; | ||
1132 | |||
1133 | /* CCID R */ | ||
1134 | rc = __feat_register_sp(&dp->dccps_featneg, DCCPF_CCID, 0, 0, | ||
1135 | &dmsk->dccpms_rx_ccid, 1); | ||
1136 | if (rc) | ||
1137 | goto out; | ||
1138 | |||
1139 | /* Ack ratio */ | 1127 | /* Ack ratio */ |
1140 | rc = __feat_register_nn(&dp->dccps_featneg, DCCPF_ACK_RATIO, 0, | 1128 | rc = __feat_register_nn(&dp->dccps_featneg, DCCPF_ACK_RATIO, 0, |
1141 | dp->dccps_l_ack_ratio); | 1129 | dp->dccps_l_ack_ratio); |
1142 | out: | ||
1143 | return rc; | 1130 | return rc; |
1144 | } | 1131 | } |
1145 | 1132 | ||