[PATCH 2/3] uprobes: remove the unnecessary initialization inadd_utask()

From: Oleg Nesterov
Date: Wed May 30 2012 - 13:00:26 EST


Trivial cleanup. No need to nullify ->active_uprobe after kzalloc().

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
---
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 1593b43..50c8a9c 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -1416,7 +1416,6 @@ static struct uprobe_task *add_utask(void)
if (unlikely(!utask))
return NULL;

- utask->active_uprobe = NULL;
current->utask = utask;
return utask;
}
--
1.5.5.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/