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: Mrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandey
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mrinal Pandey 2020-07-24 18:44:03 +05:30 committed by Greg Kroah-Hartman
parent 72b93c79db
commit 8df5b94922

View File

@ -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);