From: =?ISO-8859-1?q?Ilpo_J=E4rvinen?= <[EMAIL PROTECTED]> Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/net/tcp.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h index 0883697..117fcc4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1222,6 +1222,11 @@ static inline struct sk_buff *tcp_write_queue_tail(struct sock *sk) return skb; } +static inline int tcp_write_queue_empty(struct sock *sk) +{ + return skb_queue_empty(&sk->sk_write_queue); +} + static inline struct sk_buff *tcp_write_queue_next(struct sock *sk, struct sk_buff *skb) { return skb->next; @@ -1409,11 +1414,6 @@ static inline int tcp_skb_is_last(const struct sock *sk, return skb->next == (struct sk_buff *)&sk->sk_write_queue; } -static inline int tcp_write_queue_empty(struct sock *sk) -{ - return skb_queue_empty(&sk->sk_write_queue); -} - /* Start sequence of the highest skb with SACKed bit, valid only if * sacked > 0 or when the caller has ensured validity by itself. */ -- 1.5.0.6 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html