All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Dan Carpenter <error27@gmail.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, dhaval.giani@gmail.com,
	hpa@zytor.com, mingo@redhat.com, kay.sievers@vrfy.org,
	error27@gmail.com, gregkh@suse.de, tglx@linutronix.de,
	mingo@elte.hu
Subject: [tip:sched/core] sched: Remove some dead code
Date: Tue, 16 Mar 2010 14:47:36 GMT	[thread overview]
Message-ID: <tip-6427462bfa50f50dc6c088c07037264fcc73eca1@git.kernel.org> (raw)
In-Reply-To: <20100315082148.GD18181@bicker>

Commit-ID:  6427462bfa50f50dc6c088c07037264fcc73eca1
Gitweb:     http://git.kernel.org/tip/6427462bfa50f50dc6c088c07037264fcc73eca1
Author:     Dan Carpenter <error27@gmail.com>
AuthorDate: Mon, 15 Mar 2010 11:21:48 +0300
Committer:  Ingo Molnar <mingo@elte.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@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 |    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;
 }

      parent reply	other threads:[~2010-03-16 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15  8:21 [patch] sched: remove some dead code Dan Carpenter
2010-03-15  8:21 ` Dan Carpenter
2010-03-15 12:54 ` Dhaval Giani
2010-03-15 12:54   ` Dhaval Giani
2010-03-16 14:47 ` tip-bot for Dan Carpenter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-6427462bfa50f50dc6c088c07037264fcc73eca1@git.kernel.org \
    --to=error27@gmail.com \
    --cc=dhaval.giani@gmail.com \
    --cc=gregkh@suse.de \
    --cc=hpa@zytor.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.