summaryrefslogtreecommitdiffstats
path: root/include/net/inet_hashtables.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-03-18 14:05:37 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-18 22:00:35 -0400
commitb4d6444ea3b50bf368639432657bcf2b4e5e1062 (patch)
tree25805c8b55c8f18323ef85dcfc460a7016f6f76c /include/net/inet_hashtables.h
parent77a6a471bc18763cb2e80a8cc92f4c04eae37d32 (diff)
downloadop-kernel-dev-b4d6444ea3b50bf368639432657bcf2b4e5e1062.zip
op-kernel-dev-b4d6444ea3b50bf368639432657bcf2b4e5e1062.tar.gz
inet: get rid of last __inet_hash_connect() argument
We now always call __inet_hash_nolisten(), no need to pass it as an argument. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r--include/net/inet_hashtables.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index eee6c33..73fe0f9 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -409,9 +409,7 @@ int __inet_hash_connect(struct inet_timewait_death_row *death_row,
struct sock *sk, u32 port_offset,
int (*check_established)(struct inet_timewait_death_row *,
struct sock *, __u16,
- struct inet_timewait_sock **),
- int (*hash)(struct sock *sk,
- struct inet_timewait_sock *twp));
+ struct inet_timewait_sock **));
int inet_hash_connect(struct inet_timewait_death_row *death_row,
struct sock *sk);
OpenPOWER on IntegriCloud