tcp/dccp: remove inet_csk_reqsk_queue_added() timeout argument
authorEric Dumazet <edumazet@google.com>
Fri, 2 Oct 2015 18:43:31 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:32:40 +0000 (04:32 -0700)
This is no longer used.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
net/ipv4/inet_connection_sock.c
net/ipv6/inet6_connection_sock.c

index ee54f21a8113a1805052eb9c5d952a23d1006962..b2e2e30befa97b787973645c897d0156840b8f2f 100644 (file)
@@ -282,8 +282,7 @@ static inline void inet_csk_reqsk_queue_add(struct sock *sk,
 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
                                   unsigned long timeout);
 
-static inline void inet_csk_reqsk_queue_added(struct sock *sk,
-                                             const unsigned long timeout)
+static inline void inet_csk_reqsk_queue_added(struct sock *sk)
 {
        reqsk_queue_added(&inet_csk(sk)->icsk_accept_queue);
 }
index 093ef04e6ebff33691e2b003d4aad6a4e67fe31b..e62f04775c93d45d820ffd35c3236624d1948311 100644 (file)
@@ -531,7 +531,7 @@ void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
                                     lopt->hash_rnd, lopt->nr_table_entries);
 
        reqsk_queue_hash_req(&icsk->icsk_accept_queue, h, req, timeout);
-       inet_csk_reqsk_queue_added(sk, timeout);
+       inet_csk_reqsk_queue_added(sk);
 }
 EXPORT_SYMBOL_GPL(inet_csk_reqsk_queue_hash_add);
 
index 163bfef3e5db6e9b2a831b677b3bd8a33c48a86a..ea915aa5e4e2ad51d902b9bc6dc83fd345a9a4c3 100644 (file)
@@ -157,7 +157,7 @@ void inet6_csk_reqsk_queue_hash_add(struct sock *sk,
                                      lopt->hash_rnd, lopt->nr_table_entries);
 
        reqsk_queue_hash_req(&icsk->icsk_accept_queue, h, req, timeout);
-       inet_csk_reqsk_queue_added(sk, timeout);
+       inet_csk_reqsk_queue_added(sk);
 }
 EXPORT_SYMBOL_GPL(inet6_csk_reqsk_queue_hash_add);