diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-06-15 11:44:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-16 03:10:52 -0400 |
commit | e227051b13956b8f71c0abecc41ad351e64671c8 (patch) | |
tree | 04b4352771c3c75dbd4ecc0250a7215d0619439e /kernel/events | |
parent | 593609a59600c8377f311b300f14deacb155b9a4 (diff) |
uprobes: Remove the unnecessary initialization in add_utask()
Trivial cleanup. No need to nullify ->active_uprobe after
kzalloc().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anton Arapov <anton@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20120615154401.GA9633@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/uprobes.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
1392 | if (unlikely(!utask)) | 1392 | if (unlikely(!utask)) |
1393 | return NULL; | 1393 | return NULL; |
1394 | 1394 | ||
1395 | utask->active_uprobe = NULL; | ||
1396 | current->utask = utask; | 1395 | current->utask = utask; |
1397 | return utask; | 1396 | return utask; |
1398 | } | 1397 | } |