[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250723084736.521507-1-alighaffarian9@gmail.com>
Date: Wed, 23 Jul 2025 12:17:36 +0330
From: Ali Ghaffarian <alighaffarian9@...il.com>
To: davem@...emloft.net
Cc: linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
Ali Ghaffarian <alighaffarian9@...il.com>
Subject: [PATCH] Net: ipv4: fixed a coding style issue
Fixed a coding style issue.
Signed-off-by: Ali Ghaffarian <alighaffarian9@...il.com>
---
net/ipv4/af_inet.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 76e38092c..e38a977c9 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -445,9 +445,8 @@ int inet_bind_sk(struct sock *sk, struct sockaddr *uaddr, int addr_len)
int err;
/* If the socket has its own bind function then use it. (RAW) */
- if (sk->sk_prot->bind) {
+ if (sk->sk_prot->bind)
return sk->sk_prot->bind(sk, uaddr, addr_len);
- }
if (addr_len < sizeof(struct sockaddr_in))
return -EINVAL;
--
2.50.1
Powered by blists - more mailing lists