Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4ce50a3 authored by Mrinal Pandey's avatar Mrinal Pandey Committed by Bernhard Thoben
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>
(cherry picked from commit 8df5b9492202e9cac9917465e945fcf478d55404)
parent b39e6c0e
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -2832,12 +2832,11 @@ static int binder_proc_transaction(struct binder_transaction *t,


	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);
	if (proc->is_frozen) {
	if (proc->is_frozen) {