From: Dhaval Giani <dhaval.giani@gmail.com>
To: Dan Carpenter <error27@gmail.com>,
Dhaval Giani <dhaval.giani@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Kay Sievers <kay.sievers@vrfy.org>, Ingo Molnar <mingo@elte.hu>,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] sched: remove some dead code
Date: Mon, 15 Mar 2010 13:54:15 +0100 [thread overview]
Message-ID: <8aa016e11003150554h549a5853o7b21773915ac2451@mail.gmail.com> (raw)
In-Reply-To: <20100315082148.GD18181@bicker>
On Mon, Mar 15, 2010 at 9:21 AM, Dan Carpenter <error27@gmail.com> wrote:
> This was left over from "7c9414385e sched: Remove USER_SCHED"
>
Quite surprising I missed that. Thanks for catching it.
> Signed-off-by: Dan Carpenter <error27@gmail.com>
>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
> 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;
> }
>
next prev parent reply other threads:[~2010-03-15 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 8:21 Dan Carpenter
2010-03-15 12:54 ` Dhaval Giani [this message]
2010-03-16 14:47 ` [tip:sched/core] sched: Remove " tip-bot for Dan Carpenter
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=8aa016e11003150554h549a5853o7b21773915ac2451@mail.gmail.com \
--to=dhaval.giani@gmail.com \
--cc=error27@gmail.com \
--cc=gregkh@suse.de \
--cc=kay.sievers@vrfy.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome