diff options
author | Joe Perches <joe@perches.com> | 2009-11-23 13:41:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-23 13:41:23 -0500 |
commit | 9d4fb27db90043cd2640e4bc778f9c755d3c17c1 (patch) | |
tree | 53f1b0851fdd02e78a18f1a9db57e7cc22e2b280 /net/ipv4/tcp_probe.c | |
parent | 6ebfbc065624790772398f5b327ac33a7ae3880b (diff) |
net/ipv4: Move && and || to end of previous line
On Sun, 2009-11-22 at 16:31 -0800, David Miller wrote:
> It should be of the form:
> if (x &&
> y)
>
> or:
> if (x && y)
>
> Fix patches, rather than complaints, for existing cases where things
> do not follow this pattern are certainly welcome.
Also collapsed some multiple tabs to single space.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_probe.c')
-rw-r--r-- | net/ipv4/tcp_probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c index 7a3cc2ffad84..bb110c5ce1d2 100644 --- a/net/ipv4/tcp_probe.c +++ b/net/ipv4/tcp_probe.c | |||
@@ -95,8 +95,8 @@ static int jtcp_rcv_established(struct sock *sk, struct sk_buff *skb, | |||
95 | 95 | ||
96 | /* Only update if port matches */ | 96 | /* Only update if port matches */ |
97 | if ((port == 0 || ntohs(inet->inet_dport) == port || | 97 | if ((port == 0 || ntohs(inet->inet_dport) == port || |
98 | ntohs(inet->inet_sport) == port) | 98 | ntohs(inet->inet_sport) == port) && |
99 | && (full || tp->snd_cwnd != tcp_probe.lastcwnd)) { | 99 | (full || tp->snd_cwnd != tcp_probe.lastcwnd)) { |
100 | 100 | ||
101 | spin_lock(&tcp_probe.lock); | 101 | spin_lock(&tcp_probe.lock); |
102 | /* If log fills, just silently drop */ | 102 | /* If log fills, just silently drop */ |