diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-15 11:21:48 +0300 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-06-26 12:46:37 -0400 |
commit | da8f69254125800b57279d6d96c63572088013fe (patch) | |
tree | f031955485590a4c1dc170d9762164f74702d32d /kernel | |
parent | 565a4d87b360121ec9cbd6b67bdd25b127b29471 (diff) |
sched: Remove some dead code
commit 6427462bfa50f50dc6c088c07037264fcc73eca1 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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel')
-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 766467b3bcb..ec3b2229893 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; } |