diff options
author | Dan Carpenter <error27@gmail.com> | 2011-02-11 07:04:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:37:31 -0800 |
commit | c3d5f1e87ec15d2d306779ffaf95150dc9146d74 (patch) | |
tree | 2e0e5e97d7b6d6024191fe46e6bc127f131be403 | |
parent | 97fc6c0d4655abc7ab58dc4c065b5f3fcde2fc6b (diff) |
sched: Remove some dead code
commit 618765801ebc271fe0ba3eca99fcfd62a1f786e1 upstream.
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>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 65be394167e..8e1c8c0a496 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; } |