diff options
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 4e37c71ecd74..bc35e4709e8e 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -366,11 +366,6 @@ static inline bool tcp_passive_fastopen(const struct sock *sk) | |||
366 | tcp_sk(sk)->fastopen_rsk != NULL); | 366 | tcp_sk(sk)->fastopen_rsk != NULL); |
367 | } | 367 | } |
368 | 368 | ||
369 | static inline bool fastopen_cookie_present(struct tcp_fastopen_cookie *foc) | ||
370 | { | ||
371 | return foc->len != -1; | ||
372 | } | ||
373 | |||
374 | extern void tcp_sock_destruct(struct sock *sk); | 369 | extern void tcp_sock_destruct(struct sock *sk); |
375 | 370 | ||
376 | static inline int fastopen_init_queue(struct sock *sk, int backlog) | 371 | static inline int fastopen_init_queue(struct sock *sk, int backlog) |