summaryrefslogtreecommitdiff
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-01-27 13:53:27 +0000
committerDavid S. Miller <davem@davemloft.net>2022-01-27 13:53:27 +0000
commit2fbafb828ec716ef35e877b17a927f3af70c91c6 (patch)
treeba1685f1164cc2cb4dc417a9649cd66d8e6eb728 /include/linux/ipv6.h
parentd9f393f468aa939b53cc81b43169953ce37d7cdb (diff)
parent5e4eca5d929a168085140fe93b1e8cef841008d5 (diff)
Merge branch 'static-inlines'
Jakub Kicinski says: ==================== net: get rid of unused static inlines I noticed a couple of unused static inline functions reviewing net/sched patches so I run a grep thru all of include/ and net/ to catch other cases. This set removes the cases which look like obvious dead code. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h7
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 */