diff options
Diffstat (limited to 'net/dccp/ccid.h')
-rw-r--r-- | net/dccp/ccid.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/dccp/ccid.h b/net/dccp/ccid.h index bcc2d12ae81c..c65cb2453e43 100644 --- a/net/dccp/ccid.h +++ b/net/dccp/ccid.h | |||
@@ -43,8 +43,6 @@ struct ccid_operations { | |||
43 | unsigned char* value); | 43 | unsigned char* value); |
44 | int (*ccid_hc_rx_insert_options)(struct sock *sk, | 44 | int (*ccid_hc_rx_insert_options)(struct sock *sk, |
45 | struct sk_buff *skb); | 45 | struct sk_buff *skb); |
46 | int (*ccid_hc_tx_insert_options)(struct sock *sk, | ||
47 | struct sk_buff *skb); | ||
48 | void (*ccid_hc_tx_packet_recv)(struct sock *sk, | 46 | void (*ccid_hc_tx_packet_recv)(struct sock *sk, |
49 | struct sk_buff *skb); | 47 | struct sk_buff *skb); |
50 | int (*ccid_hc_tx_parse_options)(struct sock *sk, | 48 | int (*ccid_hc_tx_parse_options)(struct sock *sk, |
@@ -146,14 +144,6 @@ static inline int ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk, | |||
146 | return rc; | 144 | return rc; |
147 | } | 145 | } |
148 | 146 | ||
149 | static inline int ccid_hc_tx_insert_options(struct ccid *ccid, struct sock *sk, | ||
150 | struct sk_buff *skb) | ||
151 | { | ||
152 | if (ccid->ccid_ops->ccid_hc_tx_insert_options != NULL) | ||
153 | return ccid->ccid_ops->ccid_hc_tx_insert_options(sk, skb); | ||
154 | return 0; | ||
155 | } | ||
156 | |||
157 | static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk, | 147 | static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk, |
158 | struct sk_buff *skb) | 148 | struct sk_buff *skb) |
159 | { | 149 | { |