diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:30:19 -0400 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:45:35 -0400 |
commit | c506d91d9ab7681e058afcd750e9118c6cdaabc1 (patch) | |
tree | 09d4061932f1f76a6bba7423c9eeabaef27d0960 /net/dccp/ccid.h | |
parent | f10ecaee6dc2c6d56783462b2a82e98bc81b55f4 (diff) |
dccp: Unused argument in CCID tx function
This removes the argument `more' from ccid_hc_tx_packet_sent, since it was
nowhere used in the entire code.
(Anecdotally, this argument was not even used in the original KAME code where
the function originally came from; compare the variable moreToSend in the
freebsd61-dccp-kame-28.08.2006.patch now maintained by Emmanuel Lochin.)
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/dccp/ccid.h')
-rw-r--r-- | net/dccp/ccid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ccid.h b/net/dccp/ccid.h index bce517c99996..430a3c24f970 100644 --- a/net/dccp/ccid.h +++ b/net/dccp/ccid.h | |||
@@ -71,7 +71,7 @@ struct ccid_operations { | |||
71 | int (*ccid_hc_tx_send_packet)(struct sock *sk, | 71 | int (*ccid_hc_tx_send_packet)(struct sock *sk, |
72 | struct sk_buff *skb); | 72 | struct sk_buff *skb); |
73 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, | 73 | void (*ccid_hc_tx_packet_sent)(struct sock *sk, |
74 | int more, unsigned int len); | 74 | unsigned int len); |
75 | void (*ccid_hc_rx_get_info)(struct sock *sk, | 75 | void (*ccid_hc_rx_get_info)(struct sock *sk, |
76 | struct tcp_info *info); | 76 | struct tcp_info *info); |
77 | void (*ccid_hc_tx_get_info)(struct sock *sk, | 77 | void (*ccid_hc_tx_get_info)(struct sock *sk, |
@@ -139,10 +139,10 @@ static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk, | |||
139 | } | 139 | } |
140 | 140 | ||
141 | static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk, | 141 | static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk, |
142 | int more, unsigned int len) | 142 | unsigned int len) |
143 | { | 143 | { |
144 | if (ccid->ccid_ops->ccid_hc_tx_packet_sent != NULL) | 144 | if (ccid->ccid_ops->ccid_hc_tx_packet_sent != NULL) |
145 | ccid->ccid_ops->ccid_hc_tx_packet_sent(sk, more, len); | 145 | ccid->ccid_ops->ccid_hc_tx_packet_sent(sk, len); |
146 | } | 146 | } |
147 | 147 | ||
148 | static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk, | 148 | static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk, |