Skip to content

Commit 8df5b94

Browse files
mrinal-pandeygregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandey Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 72b93c7 commit 8df5b94

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/android/binder.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2759,11 +2759,10 @@ static bool binder_proc_transaction(struct binder_transaction *t,
27592759
binder_node_lock(node);
27602760
if (oneway) {
27612761
BUG_ON(thread);
2762-
if (node->has_async_transaction) {
2762+
if (node->has_async_transaction)
27632763
pending_async = true;
2764-
} else {
2764+
else
27652765
node->has_async_transaction = true;
2766-
}
27672766
}
27682767

27692768
binder_inner_proc_lock(proc);

0 commit comments

Comments
 (0)