Commit 8df5b949 authored by Mrinal Pandey's avatar Mrinal Pandey Committed by 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: default avatarMrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandeySigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 72b93c79
......@@ -2759,11 +2759,10 @@ static bool binder_proc_transaction(struct binder_transaction *t,
binder_node_lock(node);
if (oneway) {
BUG_ON(thread);
if (node->has_async_transaction) {
if (node->has_async_transaction)
pending_async = true;
} else {
else
node->has_async_transaction = true;
}
}
binder_inner_proc_lock(proc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment