Skip to content

Commit

Permalink
ipc/mqueue.c: fix a brace coding style issue
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Somala Swaraj authored and torvalds committed Apr 7, 2020
1 parent 29b46fa commit 43afe4d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 43afe4d

Please sign in to comment.