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>
This commit is contained in:
parent
beac4c7e4a
commit
6427462bfa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue