Re: [PATCH] memcg: remove forward declaration from sched.h

From: KAMEZAWA Hiroyuki
Date: Fri May 22 2009 - 04:19:27 EST


On Fri, 22 May 2009 14:27:32 +0800
Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> This forward declaration seems pointless.
>
> compile tested.
>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

Nice catch. (but I don't know why this sneaked into..)
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>


> ---
> sched.h | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/include/linux/sched.h 2009-05-22 13:43:01.000000000 +0800
> +++ b/include/linux/sched.h 2009-05-22 13:38:59.000000000 +0800
> @@ -93,7 +93,6 @@ struct sched_param {
>
> #include <asm/processor.h>
>
> -struct mem_cgroup;
> struct exec_domain;
> struct futex_pi_state;
> struct robust_list_head;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/