Commit 72b93c79 authored by Mrinal Pandey's avatar Mrinal Pandey Committed by Greg Kroah-Hartman

drivers: android: Remove the use of else after return

Remove the unnecessary else branch after return statement as suggested by
checkpatch.
Signed-off-by: default avatarMrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131348.haz4ocxcferdcsgn@mrinalpandeySigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4df9772c
......@@ -1969,9 +1969,8 @@ static void binder_send_failed_reply(struct binder_transaction *t,
binder_thread_dec_tmpref(target_thread);
binder_free_transaction(t);
return;
} else {
__release(&target_thread->proc->inner_lock);
}
__release(&target_thread->proc->inner_lock);
next = t->from_parent;
binder_debug(BINDER_DEBUG_FAILED_TRANSACTION,
......
Markdown is supported
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