From: Oleg Nesterov Date: Fri, 15 Jun 2012 15:44:01 +0000 (+0200) Subject: uprobes: Remove the unnecessary initialization in add_utask() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e227051b13956b8f71c0abecc41ad351e64671c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 d1b2eeb80837..f93532748bca 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; }