aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-11-23 10:41:23 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-23 10:41:23 -0800
commit9d4fb27db90043cd2640e4bc778f9c755d3c17c1 (patch)
tree53f1b0851fdd02e78a18f1a9db57e7cc22e2b280 /net/ipv4/tcp_output.c
parent6ebfbc065624790772398f5b327ac33a7ae3880b (diff)
downloadkernel_samsung_smdk4412-9d4fb27db90043cd2640e4bc778f9c755d3c17c1.zip
kernel_samsung_smdk4412-9d4fb27db90043cd2640e4bc778f9c755d3c17c1.tar.gz
kernel_samsung_smdk4412-9d4fb27db90043cd2640e4bc778f9c755d3c17c1.tar.bz2
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_output.c')
-rw-r--r--net/ipv4/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 616c686..875bc6d 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1923,8 +1923,8 @@ int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb)
* case, when window is shrunk to zero. In this case
* our retransmit serves as a zero window probe.
*/
- if (!before(TCP_SKB_CB(skb)->seq, tcp_wnd_end(tp))
- && TCP_SKB_CB(skb)->seq != tp->snd_una)
+ if (!before(TCP_SKB_CB(skb)->seq, tcp_wnd_end(tp)) &&
+ TCP_SKB_CB(skb)->seq != tp->snd_una)
return -EAGAIN;
if (skb->len > cur_mss) {