Skip to contentSkip to conversation

ipc : mqueue.c :Fixed a brace coding style issue

PATCH Applied Somala Swaraj 1 participant 1 message Mar 1, 2020

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 49a05ba3000d..dc8307bf2d74 100644
@@ -239,11 +239,10 @@ static inline void msg_tree_erase(struct posix_msg_tree_node *leaf,
 		info->msg_tree_rightmost = rb_prev(node);
 
 	rb_erase(node, &info->msg_tree);
-	if (info->node_cache) {
+	if (info->node_cache)
 		kfree(leaf);
-	} else {
+	else
 		info->node_cache = leaf;
-	}
 }
 
 static inline struct msg_msg *msg_get(struct mqueue_inode_info *info)
Signature · 1 line
2.17.1