From c3d5f1e87ec15d2d306779ffaf95150dc9146d74 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 11 Feb 2011 07:04:45 +0100 Subject: [PATCH] sched: Remove some dead code commit 618765801ebc271fe0ba3eca99fcfd62a1f786e1 upstream. This was left over from "7c9414385e sched: Remove USER_SCHED" Signed-off-by: Dan Carpenter Acked-by: Dhaval Giani Cc: Kay Sievers Cc: Greg Kroah-Hartman LKML-Reference: <20100315082148.GD18181@bicker> Signed-off-by: Ingo Molnar Signed-off-by: Mike Galbraith Signed-off-by: Greg Kroah-Hartman --- kernel/user.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/user.c b/kernel/user.c index 65be394167ed..8e1c8c0a496c 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -170,8 +170,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid) return up; - put_user_ns(new->user_ns); - kmem_cache_free(uid_cachep, new); out_unlock: return NULL; } -- 2.11.4.GIT