summaryrefslogtreecommitdiffstats
path: root/include/net/inet_hashtables.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-07-03 11:57:54 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-03 12:29:14 +0200
commit784c372a8184bdb8ae722c94250c2d57dc327a8e (patch)
tree786bee3c89ccfa0ca8f4bc97a3090ea5fdaa222c /include/net/inet_hashtables.h
parentnet: avoid one splat in fib_nl_delrule() (diff)
downloadlinux-784c372a8184bdb8ae722c94250c2d57dc327a8e.tar.xz
linux-784c372a8184bdb8ae722c94250c2d57dc327a8e.zip
net: make sk_ehashfn() static
sk_ehashfn() is only used from a single file. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index b9e6e0e1f55c..5026b1f08bb8 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -359,7 +359,6 @@ static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo,
refcounted);
}
-u32 sk_ehashfn(const struct sock *sk);
u32 inet6_ehashfn(const struct net *net,
const struct in6_addr *laddr, const u16 lport,
const struct in6_addr *faddr, const __be16 fport);