From: Somala Swaraj Date: Tue, 7 Apr 2020 03:12:53 +0000 (-0700) Subject: ipc/mqueue.c: fix a brace coding style issue X-Git-Tag: v5.15~4112^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43afe4d3661b04915aa357c5ab0f2a08718af9fd;p=platform%2Fkernel%2Flinux-starfive.git ipc/mqueue.c: fix a brace coding style issue Signed-off-by: somala swaraj Signed-off-by: Andrew Morton Link: http://lkml.kernel.org/r/20200301135530.18340-1-somalaswaraj@gmail.com Signed-off-by: Linus Torvalds --- diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 49a05ba..dc8307b 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -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)