From: Oleg Nesterov Date: Fri, 15 Jun 2012 15:44:01 +0000 (+0200) Subject: uprobes: Remove the unnecessary initialization in add_utask() X-Git-Tag: v3.6-rc1~167^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e227051b13956b8f71c0abecc41ad351e64671c8;p=platform%2Fupstream%2Fkernel-adaptation-pc.git uprobes: Remove the unnecessary initialization in add_utask() Trivial cleanup. No need to nullify ->active_uprobe after kzalloc(). Signed-off-by: Oleg Nesterov Cc: Ananth N Mavinakayanahalli Cc: Anton Arapov Cc: Peter Zijlstra Cc: Srikar Dronamraju Link: http://lkml.kernel.org/r/20120615154401.GA9633@redhat.com Signed-off-by: Ingo Molnar --- diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index d1b2eeb..f935327 100644 --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c @@ -1392,7 +1392,6 @@ static struct uprobe_task *add_utask(void) if (unlikely(!utask)) return NULL; - utask->active_uprobe = NULL; current->utask = utask; return utask; }