* [PATCH] fix up cgroup warning
@ 2007-10-22 22:11 Dave Hansen
2007-10-22 22:15 ` Paul Menage
0 siblings, 1 reply; 2+ messages in thread
From: Dave Hansen @ 2007-10-22 22:11 UTC (permalink / raw)
To: menage; +Cc: linux-kernel, Dave Hansen
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
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] fix up cgroup warning
2007-10-22 22:11 [PATCH] fix up cgroup warning Dave Hansen
@ 2007-10-22 22:15 ` Paul Menage
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menage @ 2007-10-22 22:15 UTC (permalink / raw)
To: Dave Hansen; +Cc: linux-kernel
Thanks - this has already been sent to akpm.
Paul
On 10/22/07, Dave Hansen <haveblue@us.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
> _
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-22 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-22 22:11 [PATCH] fix up cgroup warning Dave Hansen
2007-10-22 22:15 ` Paul Menage
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®