提交 72b93c79 编写于 作者: M Mrinal Pandey 提交者: 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: NMrinal Pandey <mrinalmni@gmail.com>
Link: https://lore.kernel.org/r/20200724131348.haz4ocxcferdcsgn@mrinalpandeySigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 4df9772c
...@@ -1969,9 +1969,8 @@ static void binder_send_failed_reply(struct binder_transaction *t, ...@@ -1969,9 +1969,8 @@ static void binder_send_failed_reply(struct binder_transaction *t,
binder_thread_dec_tmpref(target_thread); binder_thread_dec_tmpref(target_thread);
binder_free_transaction(t); binder_free_transaction(t);
return; return;
} else {
__release(&target_thread->proc->inner_lock);
} }
__release(&target_thread->proc->inner_lock);
next = t->from_parent; next = t->from_parent;
binder_debug(BINDER_DEBUG_FAILED_TRANSACTION, binder_debug(BINDER_DEBUG_FAILED_TRANSACTION,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册