summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-15 11:21:48 +0300
committerIngo Molnar <mingo@elte.hu>2010-03-16 11:05:44 +0100
commit6427462bfa50f50dc6c088c07037264fcc73eca1 (patch)
treec0c2746b123acfec4332d259fae02918d4a80385
parentbeac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 (diff)
downloadop-kernel-dev-6427462bfa50f50dc6c088c07037264fcc73eca1.zip
op-kernel-dev-6427462bfa50f50dc6c088c07037264fcc73eca1.tar.gz
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 766467b..ec3b222 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;
}
OpenPOWER on IntegriCloud