diff options
author | Eric Dumazet <edumazet@google.com> | 2020-08-26 16:50:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-26 17:33:19 +0300 |
commit | 24da79902efc4a8443fae09e6c8e25b515bd8db2 (patch) | |
tree | 5dd5f12ed3b73391eaa52c1375312cfe19783690 /include/net/inet_sock.h | |
parent | ea416e277f09c4285f60a7ea741ca62719191a90 (diff) | |
download | linux-24da79902efc4a8443fae09e6c8e25b515bd8db2.tar.xz |
inet: remove inet_sk_copy_descendant()
This is no longer used, SCTP now uses a private helper.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r-- | include/net/inet_sock.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index a3702d1d4875..89163ef8cf4b 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h @@ -296,13 +296,6 @@ static inline void __inet_sk_copy_descendant(struct sock *sk_to, memcpy(inet_sk(sk_to) + 1, inet_sk(sk_from) + 1, sk_from->sk_prot->obj_size - ancestor_size); } -#if !(IS_ENABLED(CONFIG_IPV6)) -static inline void inet_sk_copy_descendant(struct sock *sk_to, - const struct sock *sk_from) -{ - __inet_sk_copy_descendant(sk_to, sk_from, sizeof(struct inet_sock)); -} -#endif int inet_sk_rebuild_header(struct sock *sk); |