Skip to content

Commit

Permalink
drivers: android: Remove braces for a single statement if-else block
Browse files Browse the repository at this point in the history
Remove braces for both if and else block as suggested by checkpatch.

Signed-off-by: Mrinal Pandey <[email protected]>
Link: https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandey
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
mrinal-pandey authored and gregkh committed Jul 29, 2020
1 parent 72b93c7 commit 8df5b94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8df5b94

Please sign in to comment.