diff --git a/drivers/android/binder.c b/drivers/android/binder.c index a53d7f9458ff..7a8cdecaf348 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -932,9 +932,7 @@ static bool binder_has_work(struct binder_thread *thread, bool do_proc_work) static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread) { return !thread->transaction_stack && - binder_worklist_empty_ilocked(&thread->todo) && - (thread->looper & (BINDER_LOOPER_STATE_ENTERED | - BINDER_LOOPER_STATE_REGISTERED)); + binder_worklist_empty_ilocked(&thread->todo); } static void binder_wakeup_poll_threads_ilocked(struct binder_proc *proc,