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_input.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_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index cc306ac6eb51..be166e0e11c5 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -4852,11 +4852,11 @@ static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible) | |||
4852 | struct tcp_sock *tp = tcp_sk(sk); | 4852 | struct tcp_sock *tp = tcp_sk(sk); |
4853 | 4853 | ||
4854 | /* More than one full frame received... */ | 4854 | /* More than one full frame received... */ |
4855 | if (((tp->rcv_nxt - tp->rcv_wup) > inet_csk(sk)->icsk_ack.rcv_mss | 4855 | if (((tp->rcv_nxt - tp->rcv_wup) > inet_csk(sk)->icsk_ack.rcv_mss && |
4856 | /* ... and right edge of window advances far enough. | 4856 | /* ... and right edge of window advances far enough. |
4857 | * (tcp_recvmsg() will send ACK otherwise). Or... | 4857 | * (tcp_recvmsg() will send ACK otherwise). Or... |
4858 | */ | 4858 | */ |
4859 | && __tcp_select_window(sk) >= tp->rcv_wnd) || | 4859 | __tcp_select_window(sk) >= tp->rcv_wnd) || |
4860 | /* We ACK each frame or... */ | 4860 | /* We ACK each frame or... */ |
4861 | tcp_in_quickack_mode(sk) || | 4861 | tcp_in_quickack_mode(sk) || |
4862 | /* We have out of order data. */ | 4862 | /* We have out of order data. */ |