[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830710221515q89adbdg8fc1e3d6655ee951@mail.gmail.com>
Date: Mon, 22 Oct 2007 15:15:56 -0700
From: "Paul Menage" <menage@...gle.com>
To: "Dave Hansen" <haveblue@...ibm.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix up cgroup warning
Thanks - this has already been sent to akpm.
Paul
On 10/22/07, Dave Hansen <haveblue@...ibm.com> wrote:
>
> I just noticed this in mainline:
>
> kernel/cgroup.c: In function `proc_cgroupstats_show':
> kernel/cgroup.c:2405: warning: unused variable `root'
>
>
> ---
>
> linux-2.6.git-dave/kernel/cgroup.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff -puN kernel/cgroup.c~cgroup-warning kernel/cgroup.c
> --- linux-2.6.git/kernel/cgroup.c~cgroup-warning 2007-10-22 15:10:20.000000000 -0700
> +++ linux-2.6.git-dave/kernel/cgroup.c 2007-10-22 15:10:20.000000000 -0700
> @@ -2402,7 +2402,6 @@ struct file_operations proc_cgroup_opera
> static int proc_cgroupstats_show(struct seq_file *m, void *v)
> {
> int i;
> - struct cgroupfs_root *root;
>
> seq_puts(m, "#subsys_name\thierarchy\tnum_cgroups\n");
> mutex_lock(&cgroup_mutex);
> diff -L +2405 -puN /dev/null /dev/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