aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-15 04:21:48 -0400
committerIngo Molnar <mingo@elte.hu>2010-03-16 06:05:44 -0400
commit6427462bfa50f50dc6c088c07037264fcc73eca1 (patch)
treec0c2746b123acfec4332d259fae02918d4a80385 /kernel/user.c
parentbeac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 (diff)
sched: Remove some dead code
This was left over from "7c9414385e sched: Remove USER_SCHED" Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Dhaval Giani <dhaval.giani@gmail.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Greg Kroah-Hartman <gregkh@suse.de> LKML-Reference: <20100315082148.GD18181@bicker> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 766467b3bcb7..ec3b2229893b 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -178,8 +178,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
178 178
179 return up; 179 return up;
180 180
181 put_user_ns(new->user_ns);
182 kmem_cache_free(uid_cachep, new);
183out_unlock: 181out_unlock:
184 return NULL; 182 return NULL;
185} 183}