diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 22:11:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 16:53:27 +0300 |
commit | 8b2d546e23bb3588f897089368b5f09e49f7762d (patch) | |
tree | 08be5650a7e0a1630a5aeca5e5d848cd03c956af /include/linux/ipv6.h | |
parent | 0ab1e6d9a453459ce5104a3412e9c193608971bd (diff) | |
download | linux-8b2d546e23bb3588f897089368b5f09e49f7762d.tar.xz |
ipv6: remove inet6_rsk() and tcp_twsk_ipv6only()
The stubs under !CONFIG_IPV6 were missed when real functions
got deleted ca. v3.13.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index a59d25f19385..1e0f8a31f3de 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -371,19 +371,12 @@ static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) return NULL; } -static inline struct inet6_request_sock * - inet6_rsk(const struct request_sock *rsk) -{ - return NULL; -} - static inline struct raw6_sock *raw6_sk(const struct sock *sk) { return NULL; } #define inet6_rcv_saddr(__sk) NULL -#define tcp_twsk_ipv6only(__sk) 0 #define inet_v6_ipv6only(__sk) 0 #endif /* IS_ENABLED(CONFIG_IPV6) */ #endif /* _IPV6_H */ |