diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 16eda9b39f8d..ccb87162ff62 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/cn_proc.h> | 40 | #include <linux/cn_proc.h> |
41 | #include <linux/mutex.h> | 41 | #include <linux/mutex.h> |
42 | #include <linux/futex.h> | 42 | #include <linux/futex.h> |
43 | #include <linux/compat.h> | ||
44 | #include <linux/pipe_fs_i.h> | 43 | #include <linux/pipe_fs_i.h> |
45 | #include <linux/audit.h> /* for audit_free() */ | 44 | #include <linux/audit.h> /* for audit_free() */ |
46 | #include <linux/resource.h> | 45 | #include <linux/resource.h> |
@@ -1064,14 +1063,6 @@ NORET_TYPE void do_exit(long code) | |||
1064 | exit_itimers(tsk->signal); | 1063 | exit_itimers(tsk->signal); |
1065 | } | 1064 | } |
1066 | acct_collect(code, group_dead); | 1065 | acct_collect(code, group_dead); |
1067 | #ifdef CONFIG_FUTEX | ||
1068 | if (unlikely(tsk->robust_list)) | ||
1069 | exit_robust_list(tsk); | ||
1070 | #ifdef CONFIG_COMPAT | ||
1071 | if (unlikely(tsk->compat_robust_list)) | ||
1072 | compat_exit_robust_list(tsk); | ||
1073 | #endif | ||
1074 | #endif | ||
1075 | if (group_dead) | 1066 | if (group_dead) |
1076 | tty_audit_exit(); | 1067 | tty_audit_exit(); |
1077 | if (unlikely(tsk->audit_context)) | 1068 | if (unlikely(tsk->audit_context)) |