summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-08-23 11:39:27 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-23 23:25:29 -0700
commit4cac8204661a6d1a842e47911933f1e90b392c84 (patch)
tree5f74a9110f1af36e2897fc09236acb8c8a1225ce /include/net/sock.h
parent6a6ad2a4e57bc907a6977eef6cad49348ad2744b (diff)
downloadlinux-stable-4cac8204661a6d1a842e47911933f1e90b392c84.tar.gz
linux-stable-4cac8204661a6d1a842e47911933f1e90b392c84.tar.bz2
linux-stable-4cac8204661a6d1a842e47911933f1e90b392c84.zip
udp: get rid of sk_prot_clear_portaddr_nulls()
Since we no longer use SLAB_DESTROY_BY_RCU for UDP, we do not need sk_prot_clear_portaddr_nulls() helper. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 2aab9b63bf16..1bc57609f8e1 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1242,8 +1242,6 @@ static inline int __sk_prot_rehash(struct sock *sk)
return sk->sk_prot->hash(sk);
}
-void sk_prot_clear_portaddr_nulls(struct sock *sk, int size);
-
/* About 10 seconds */
#define SOCK_DESTROY_TIME (10*HZ)