Commit 8df5b949 authored by Mrinal Pandey's avatar Mrinal Pandey Committed by Greg Kroah-Hartman
Browse files

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@mrinalpandey


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 72b93c79
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -2759,12 +2759,11 @@ 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);