diff options
Diffstat (limited to 'net/dccp/ccid.h')
-rw-r--r-- | net/dccp/ccid.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/dccp/ccid.h b/net/dccp/ccid.h index 06105b2a613c..469f9a14b463 100644 --- a/net/dccp/ccid.h +++ b/net/dccp/ccid.h | |||
@@ -43,8 +43,7 @@ struct ccid { | |||
43 | unsigned char len, u16 idx, | 43 | unsigned char len, u16 idx, |
44 | unsigned char* value); | 44 | unsigned char* value); |
45 | int (*ccid_hc_tx_send_packet)(struct sock *sk, | 45 | int (*ccid_hc_tx_send_packet)(struct sock *sk, |
46 | struct sk_buff *skb, int len, | 46 | struct sk_buff *skb, int len); |
47 | long *delay); | ||
48 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, int more, int len); | 47 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, int more, int len); |
49 | }; | 48 | }; |
50 | 49 | ||
@@ -60,12 +59,11 @@ static inline void __ccid_get(struct ccid *ccid) | |||
60 | } | 59 | } |
61 | 60 | ||
62 | static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk, | 61 | static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk, |
63 | struct sk_buff *skb, int len, | 62 | struct sk_buff *skb, int len) |
64 | long *delay) | ||
65 | { | 63 | { |
66 | int rc = 0; | 64 | int rc = 0; |
67 | if (ccid->ccid_hc_tx_send_packet != NULL) | 65 | if (ccid->ccid_hc_tx_send_packet != NULL) |
68 | rc = ccid->ccid_hc_tx_send_packet(sk, skb, len, delay); | 66 | rc = ccid->ccid_hc_tx_send_packet(sk, skb, len); |
69 | return rc; | 67 | return rc; |
70 | } | 68 | } |
71 | 69 | ||