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
......@@ -2832,11 +2832,10 @@ static int binder_proc_transaction(struct binder_transaction *t,
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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment