projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beac4c7
)
sched: Remove some dead code
author
Dan Carpenter
<error27@gmail.com>
Mon, 15 Mar 2010 08:21:48 +0000
(11:21 +0300)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 16 Mar 2010 10:05:44 +0000
(11:05 +0100)
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>
kernel/user.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/user.c
b/kernel/user.c
index 766467b3bcb7f1e42da792bece602ec8404135a2..ec3b2229893b1f1258d95b572893cf2b988ead8f 100644
(file)
--- 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;
}