x86: Prevent GCC 4.4.x (pentium-mmx et al) function prologue wreckage
[sfrench/cifs-2.6.git] / kernel / exit.c
index 5859f598c951bde881a9e7ce1c29d19fd66b3463..e61891f801238f3a386e9162f7bed8b456a4e268 100644 (file)
@@ -991,8 +991,6 @@ NORET_TYPE void do_exit(long code)
        tsk->mempolicy = NULL;
 #endif
 #ifdef CONFIG_FUTEX
-       if (unlikely(!list_empty(&tsk->pi_state_list)))
-               exit_pi_state_list(tsk);
        if (unlikely(current->pi_state_cache))
                kfree(current->pi_state_cache);
 #endif