mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
tcp/dccp: remove inet_csk_reqsk_queue_added() timeout argument
This is no longer used. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aa3a0c8ce6
commit
2feda34192
3 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue