Skip to contentSkip to conversation

ipc/mqueue.c: fixed a brace coding style issue

PATCH In review Roman Kuznetsov 2 participants 2 messages Dec 7, 2013 – Dec 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipc/mqueue.c: fixed a brace coding style issue

Fixed a coding style issue.

---
 ipc/mqueue.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
ipc/mqueue.c +2 -3
index 95827ce..9346238 100644
@@ -1303,11 +1303,10 @@ retry:
 out_fput:
 	fdput(f);
 out:
-	if (sock) {
+	if (sock)
 		netlink_detachskb(sock, nc);
-	} else if (nc) {
+	else if (nc)
 		dev_kfree_skb(nc);
-	}
 	return ret;
 }
 
Signature · 1 line
1.8.1.2
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Roman Kuznetsov

Fixed a coding style issue.

Ok, fine.

Quoted 22 lines
---
 ipc/mqueue.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
ipc/mqueue.c +2 -3
index 95827ce..9346238 100644
@@ -1303,11 +1303,10 @@ retry:
 out_fput:
 	fdput(f);
 out:
-	if (sock) {
+	if (sock)
 		netlink_detachskb(sock, nc);
-	} else if (nc) {
+	else if (nc)
 		dev_kfree_skb(nc);
-	}
 	return ret;
 }