Skip to content

Commit 72b93c7

Browse files
mrinal-pandeygregkh
authored andcommitted
drivers: android: Remove the use of else after return
Remove the unnecessary else branch after return statement as suggested by checkpatch. Signed-off-by: Mrinal Pandey <[email protected]> Link: https://lore.kernel.org/r/20200724131348.haz4ocxcferdcsgn@mrinalpandey Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4df9772 commit 72b93c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/android/binder.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,9 +1969,8 @@ static void binder_send_failed_reply(struct binder_transaction *t,
19691969
binder_thread_dec_tmpref(target_thread);
19701970
binder_free_transaction(t);
19711971
return;
1972-
} else {
1973-
__release(&target_thread->proc->inner_lock);
19741972
}
1973+
__release(&target_thread->proc->inner_lock);
19751974
next = t->from_parent;
19761975

19771976
binder_debug(BINDER_DEBUG_FAILED_TRANSACTION,

0 commit comments

Comments
 (0)