diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipv6.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 2faef339d8f2..c811300b0b0c 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
| @@ -256,16 +256,6 @@ static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) | |||
| 256 | return inet_sk(__sk)->pinet6; | 256 | return inet_sk(__sk)->pinet6; |
| 257 | } | 257 | } |
| 258 | 258 | ||
| 259 | static inline struct request_sock *inet6_reqsk_alloc(struct request_sock_ops *ops) | ||
| 260 | { | ||
| 261 | struct request_sock *req = reqsk_alloc(ops); | ||
| 262 | |||
| 263 | if (req) | ||
| 264 | inet_rsk(req)->pktopts = NULL; | ||
| 265 | |||
| 266 | return req; | ||
| 267 | } | ||
| 268 | |||
| 269 | static inline struct raw6_sock *raw6_sk(const struct sock *sk) | 259 | static inline struct raw6_sock *raw6_sk(const struct sock *sk) |
| 270 | { | 260 | { |
| 271 | return (struct raw6_sock *)sk; | 261 | return (struct raw6_sock *)sk; |
