mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: jovi zhang <bookjovi@gmail.com>
Cc: andre.goddard@gmail.com, hedi@sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pid: remove unused include
Date: Tue, 5 Oct 2010 20:19:11 +0300	[thread overview]
Message-ID: <20101005171911.GA6075@core2.telecom.by> (raw)
In-Reply-To: <AANLkTikcRppGD592yth-xaea961OczDhXX1Hj+qQ6fJH@mail.gmail.com>

On Tue, Oct 05, 2010 at 07:20:26PM +0800, jovi zhang wrote:
> remove unused include of pid.c

> --- a/kernel/pid.c
> +++ b/kernel/pid.c
> @@ -27,15 +27,12 @@
>  */
> 
> #include <linux/mm.h>
> -#include <linux/module.h>

This one is needed for EXPORT_SYMBOL_GPL.

> -#include <linux/slab.h>


This one is for kzalloc()

> #include <linux/init.h>
> #include <linux/rculist.h>
> #include <linux/bootmem.h>
> #include <linux/hash.h>
> #include <linux/pid_namespace.h>
> #include <linux/init_task.h>
> -#include <linux/syscalls.h>

This one can go, sys_wait4() usage was removed.
Have you checked compilation?

  reply	other threads:[~2010-10-05 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 11:20 jovi zhang
2010-10-05 17:19 ` Alexey Dobriyan [this message]
2010-10-06  3:43   ` jovi zhang
2010-10-26  8:44 jovi zhang

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=20101005171911.GA6075@core2.telecom.by \
    --to=adobriyan@gmail.com \
    --cc=andre.goddard@gmail.com \
    --cc=bookjovi@gmail.com \
    --cc=hedi@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®