[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-6427462bfa50f50dc6c088c07037264fcc73eca1@git.kernel.org>
Date: Tue, 16 Mar 2010 14:47:36 GMT
From: tip-bot for Dan Carpenter <error27@...il.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, dhaval.giani@...il.com,
hpa@...or.com, mingo@...hat.com, kay.sievers@...y.org,
error27@...il.com, gregkh@...e.de, tglx@...utronix.de,
mingo@...e.hu
Subject: [tip:sched/core] sched: Remove some dead code
Commit-ID: 6427462bfa50f50dc6c088c07037264fcc73eca1
Gitweb: http://git.kernel.org/tip/6427462bfa50f50dc6c088c07037264fcc73eca1
Author: Dan Carpenter <error27@...il.com>
AuthorDate: Mon, 15 Mar 2010 11:21:48 +0300
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 16 Mar 2010 11:05:44 +0100
sched: Remove some dead code
This was left over from "7c9414385e sched: Remove USER_SCHED"
Signed-off-by: Dan Carpenter <error27@...il.com>
Acked-by: Dhaval Giani <dhaval.giani@...il.com>
Cc: Kay Sievers <kay.sievers@...y.org>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
LKML-Reference: <20100315082148.GD18181@...ker>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/user.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/kernel/user.c b/kernel/user.c
index 766467b..ec3b222 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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists