aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index f087593d64d3..a7332f0f85c4 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -30,14 +30,6 @@
30#include "dccp.h" 30#include "dccp.h"
31#include "feat.h" 31#include "feat.h"
32 32
33struct inet_hashinfo __cacheline_aligned dccp_hashinfo = {
34 .lhash_lock = RW_LOCK_UNLOCKED,
35 .lhash_users = ATOMIC_INIT(0),
36 .lhash_wait = __WAIT_QUEUE_HEAD_INITIALIZER(dccp_hashinfo.lhash_wait),
37};
38
39EXPORT_SYMBOL_GPL(dccp_hashinfo);
40
41static int dccp_v4_get_port(struct sock *sk, const unsigned short snum) 33static int dccp_v4_get_port(struct sock *sk, const unsigned short snum)
42{ 34{
43 return inet_csk_get_port(&dccp_hashinfo, sk, snum, 35 return inet_csk_get_port(&dccp_hashinfo, sk, snum,