From: Armin Gholampoor <armingh379@gmail.com>
To: davem@davemloft.net
Cc: linux-kernel@vger.kernel.org, Armin Gholampoor <armingh379@gmail.com>
Subject: [PATCH] net: ipv4: fixed a brace coding style issue
Date: Wed, 18 Nov 2020 01:37:44 -0500 [thread overview]
Message-ID: <20201118063744.214744-1-armingh379@gmail.com> (raw)
Fixed bracing style issue.
Signed-off-by: Armin Gholampoor <armingh379@gmail.com>
---
net/ipv4/tcp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index b2bc3d7fe..37bc91e4a 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3170,8 +3170,7 @@ static int do_tcp_setsockopt(struct sock *sk, int level, int optname,
else if (tp->repair_queue == TCP_RECV_QUEUE) {
WRITE_ONCE(tp->rcv_nxt, val);
WRITE_ONCE(tp->copied_seq, val);
- }
- else
+ } else
err = -EINVAL;
break;
--
2.29.2
next reply other threads:[~2020-11-17 22:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 6:37 Armin Gholampoor [this message]
2020-11-18 2:02 ` [PATCH] net: ipv4: fixed a brace coding style issue Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201118063744.214744-1-armingh379@gmail.com \
--to=armingh379@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox