[PATCH] net: ipv4: fixed a brace coding style issue

From: Armin Gholampoor
Date: Tue Nov 17 2020 - 17:09:00 EST


Fixed bracing style issue.

Signed-off-by: Armin Gholampoor <armingh379@xxxxxxxxx>
---
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