sched/wait: Avoid abort_exclusive_wait() in ___wait_event()
[cascardo/linux.git] / include / linux / wait.h
index e4cfd1e..7261dcb 100644 (file)
@@ -280,12 +280,7 @@ wait_queue_head_t *bit_waitqueue(void *, int);
                                                                        \
                if (___wait_is_interruptible(state) && __int) {         \
                        __ret = __int;                                  \
-                       if (exclusive) {                                \
-                               abort_exclusive_wait(&wq, &__wait,      \
-                                                    NULL);             \
-                               goto __out;                             \
-                       }                                               \
-                       break;                                          \
+                       goto __out;                                     \
                }                                                       \
                                                                        \
                cmd;                                                    \