Skip to content

Commit

Permalink
sched: Remove some dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Feb 17, 2011
1 parent 97fc6c0 commit c3d5f1e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c3d5f1e

Please sign in to comment.