diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-15 11:21:48 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-16 11:05:44 +0100 |
commit | 6427462bfa50f50dc6c088c07037264fcc73eca1 (patch) | |
tree | c0c2746b123acfec4332d259fae02918d4a80385 | |
parent | beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 (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>
-rw-r--r-- | kernel/user.c | 2 |
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) return up; - put_user_ns(new->user_ns); - kmem_cache_free(uid_cachep, new); out_unlock: return NULL; } |