aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHantzis Fotis <xantzis@ceid.upatras.gr>2009-03-03 01:42:02 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-03 01:42:02 -0500
commitee7537b63a28b42b22e48842dfeedc66d96b71f1 (patch)
tree70fe4bad071ee03afd4368a8487eb378abdfa3a5 /include/net
parentc1accad323372ab788066974844fe4db3c43acb0 (diff)
tcp: tcp_init_wl / tcp_update_wl argument cleanup
The above functions from include/net/tcp.h have been defined with an argument that they never use. The argument is 'u32 ack' which is never used inside the function body, and thus it can be removed. The rest of the patch involves the necessary changes to the function callers of the above two functions. Signed-off-by: Hantzis Fotis <xantzis@ceid.upatras.gr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 055e4946d4c8..d74ac301e6bc 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -825,12 +825,12 @@ static inline void tcp_push_pending_frames(struct sock *sk)
825 __tcp_push_pending_frames(sk, tcp_current_mss(sk, 1), tp->nonagle); 825 __tcp_push_pending_frames(sk, tcp_current_mss(sk, 1), tp->nonagle);
826} 826}
827 827
828static inline void tcp_init_wl(struct tcp_sock *tp, u32 ack, u32 seq) 828static inline void tcp_init_wl(struct tcp_sock *tp, u32 seq)
829{ 829{
830 tp->snd_wl1 = seq; 830 tp->snd_wl1 = seq;
831} 831}
832 832
833static inline void tcp_update_wl(struct tcp_sock *tp, u32 ack, u32 seq) 833static inline void tcp_update_wl(struct tcp_sock *tp, u32 seq)
834{ 834{
835 tp->snd_wl1 = seq; 835 tp->snd_wl1 = seq;
836} 836}