linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ipv4: fixed a brace coding style issue
@ 2020-11-18  6:37 Armin Gholampoor
  2020-11-18  2:02 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Gholampoor @ 2020-11-18  6:37 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, Armin Gholampoor

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-18  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18  6:37 [PATCH] net: ipv4: fixed a brace coding style issue Armin Gholampoor
2020-11-18  2:02 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).