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

Commit 6e463bb6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "binder: add missing binder_unlock()"



This reverts commit febf108e.

There is no binder_unlock() in this branch, so this patch needs to be
reverted.

Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 7118def0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4573,10 +4573,8 @@ static unsigned int binder_poll(struct file *filp,
	bool wait_for_proc_work;

	thread = binder_get_thread(proc);
	if (!thread) {
		binder_unlock(__func__);
	if (!thread)
		return POLLERR;
	}

	binder_inner_proc_lock(thread->proc);
	thread->looper |= BINDER_LOOPER_STATE_POLL;