* [PATCH] ipc : mqueue.c :Fixed a brace coding style issue
@ 2020-03-01 13:55 Somala Swaraj
0 siblings, 0 replies; only message in thread
From: Somala Swaraj @ 2020-03-01 13:55 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Somala Swaraj
Fixed a coding style issue.
Signed-off-by: somala swaraj <somalaswaraj@gmail.com>
---
ipc/mqueue.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 49a05ba3000d..dc8307bf2d74 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)
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-01 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-01 13:55 [PATCH] ipc : mqueue.c :Fixed a brace coding style issue Somala Swaraj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®