]> Git Repo - linux.git/commitdiff
ipc/mqueue.c: fix a brace coding style issue
authorSomala Swaraj <[email protected]>
Tue, 7 Apr 2020 03:12:53 +0000 (20:12 -0700)
committerLinus Torvalds <[email protected]>
Tue, 7 Apr 2020 17:43:45 +0000 (10:43 -0700)
Signed-off-by: somala swaraj <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
ipc/mqueue.c

index 49a05ba3000dbab9f6821e3deb3a5223c29a528a..dc8307bf2d74d3b550d2fac210dae09920ef0bcf 100644 (file)
@@ -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)
This page took 0.056548 seconds and 4 git commands to generate.