summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller2007-09-20 20:40:37 +0200
committerDavid S. Miller2007-10-11 01:52:13 +0200
commit0800f170263d19b882e519441156c5f6ed190fc1 (patch)
tree09dd9f9405390b969af4ee2fbea411308dcc7582
parent[TCP]: Avoid clearing sacktag hint in trivial situations (diff)
downloadkernel-qcow2-linux-0800f170263d19b882e519441156c5f6ed190fc1.tar.gz
kernel-qcow2-linux-0800f170263d19b882e519441156c5f6ed190fc1.tar.xz
kernel-qcow2-linux-0800f170263d19b882e519441156c5f6ed190fc1.zip
[TCP]: Minor coding style fixup.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/tcp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 456983d1fcec..92049e681258 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1067,14 +1067,16 @@ static inline void tcp_mib_init(void)
}
/* from STCP */
-static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) {
+static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp)
+{
tp->lost_skb_hint = NULL;
tp->scoreboard_skb_hint = NULL;
tp->retransmit_skb_hint = NULL;
tp->forward_skb_hint = NULL;
}
-static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) {
+static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
+{
tcp_clear_retrans_hints_partial(tp);
tp->fastpath_skb_hint = NULL;
}