From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> In utrace_set_events, setting target->utrace_flags is superfluous in the DEATH_EVENTS check conditional since it's anyway done unconditionally later, unless I am missing a possible race for which this was introduced in the first place.
Signed-off-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> --- kernel/utrace.c | 1 - 1 file changed, 1 deletion(-) Index: utrace-11sep/kernel/utrace.c =================================================================== --- utrace-11sep.orig/kernel/utrace.c +++ utrace-11sep/kernel/utrace.c @@ -838,7 +838,6 @@ int utrace_set_events(struct task_struct spin_unlock(&utrace->lock); return -EALREADY; } - target->utrace_flags |= set_utrace_flags; read_unlock(&tasklist_lock); }