Skip to content

Commit 43afe4d

Browse files
Somala Swarajtorvalds
authored andcommitted
ipc/mqueue.c: fix a brace coding style issue
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]>
1 parent 29b46fa commit 43afe4d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ipc/mqueue.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,10 @@ static inline void msg_tree_erase(struct posix_msg_tree_node *leaf,
239239
info->msg_tree_rightmost = rb_prev(node);
240240

241241
rb_erase(node, &info->msg_tree);
242-
if (info->node_cache) {
242+
if (info->node_cache)
243243
kfree(leaf);
244-
} else {
244+
else
245245
info->node_cache = leaf;
246-
}
247246
}
248247

249248
static inline struct msg_msg *msg_get(struct mqueue_inode_info *info)

0 commit comments

Comments
 (0)