提交 8df5b949 编写于 作者: M Mrinal Pandey 提交者: Greg Kroah-Hartman

drivers: android: Remove braces for a single statement if-else block

Remove braces for both if and else block as suggested by checkpatch.
Signed-off-by: NMrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandeySigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 72b93c79
...@@ -2759,11 +2759,10 @@ static bool binder_proc_transaction(struct binder_transaction *t, ...@@ -2759,11 +2759,10 @@ static bool binder_proc_transaction(struct binder_transaction *t,
binder_node_lock(node); binder_node_lock(node);
if (oneway) { if (oneway) {
BUG_ON(thread); BUG_ON(thread);
if (node->has_async_transaction) { if (node->has_async_transaction)
pending_async = true; pending_async = true;
} else { else
node->has_async_transaction = true; node->has_async_transaction = true;
}
} }
binder_inner_proc_lock(proc); binder_inner_proc_lock(proc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册