diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-08-30 02:32:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-01 21:12:45 -0400 |
commit | 688d1945bc89bd585ec67b5b83121f499e6290bb (patch) | |
tree | 3138045afe46d72e458c1cfb3dd2552b2acaf915 /net/ipv4/tcp_ipv4.c | |
parent | d09d3038a336cbab6bde616ce44266c36c214f81 (diff) |
tcp: whitespace fixes
Fix places where there is space before tab, long lines, and
awkward if(){, double spacing etc. Add blank line after declaration/initialization.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index cd17f009aede..487e2a41667f 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -90,7 +90,6 @@ int sysctl_tcp_tw_reuse __read_mostly; | |||
90 | int sysctl_tcp_low_latency __read_mostly; | 90 | int sysctl_tcp_low_latency __read_mostly; |
91 | EXPORT_SYMBOL(sysctl_tcp_low_latency); | 91 | EXPORT_SYMBOL(sysctl_tcp_low_latency); |
92 | 92 | ||
93 | |||
94 | #ifdef CONFIG_TCP_MD5SIG | 93 | #ifdef CONFIG_TCP_MD5SIG |
95 | static int tcp_v4_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key, | 94 | static int tcp_v4_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key, |
96 | __be32 daddr, __be32 saddr, const struct tcphdr *th); | 95 | __be32 daddr, __be32 saddr, const struct tcphdr *th); |
@@ -1269,7 +1268,7 @@ struct request_sock_ops tcp_request_sock_ops __read_mostly = { | |||
1269 | .send_ack = tcp_v4_reqsk_send_ack, | 1268 | .send_ack = tcp_v4_reqsk_send_ack, |
1270 | .destructor = tcp_v4_reqsk_destructor, | 1269 | .destructor = tcp_v4_reqsk_destructor, |
1271 | .send_reset = tcp_v4_send_reset, | 1270 | .send_reset = tcp_v4_send_reset, |
1272 | .syn_ack_timeout = tcp_syn_ack_timeout, | 1271 | .syn_ack_timeout = tcp_syn_ack_timeout, |
1273 | }; | 1272 | }; |
1274 | 1273 | ||
1275 | static const struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = { | 1274 | static const struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = { |
@@ -2183,7 +2182,7 @@ int tcp_seq_open(struct inode *inode, struct file *file) | |||
2183 | 2182 | ||
2184 | s = ((struct seq_file *)file->private_data)->private; | 2183 | s = ((struct seq_file *)file->private_data)->private; |
2185 | s->family = afinfo->family; | 2184 | s->family = afinfo->family; |
2186 | s->last_pos = 0; | 2185 | s->last_pos = 0; |
2187 | return 0; | 2186 | return 0; |
2188 | } | 2187 | } |
2189 | EXPORT_SYMBOL(tcp_seq_open); | 2188 | EXPORT_SYMBOL(tcp_seq_open); |