[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <471B9290.8050703@linux.vnet.ibm.com>
Date: Sun, 21 Oct 2007 23:25:28 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
CC: menage@...gle.com, Andrew Morton <akpm@...ux-foundation.org>,
vatsa@...ux.vnet.ibm.com, Dhaval Giani <dhaval@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Fixing the warning in cgroup.c
Kamalesh Babulal wrote:
> Hi,
>
> Removing the unused variable root.
>
> kernel/cgroup.c: In function ‘proc_cgroupstats_show’:
> kernel/cgroup.c:2405: warning: unused variable ‘root’
>
> Signed-off-by: Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
>
> Index: linux-git/kernel/cgroup.c
> ===================================================================
> --- linux-git.orig/kernel/cgroup.c 2007-10-21 08:49:15.000000000 +0530
> +++ linux-git/kernel/cgroup.c 2007-10-21 22:24:13.000000000 +0530
> @@ -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);
>
>
Looks good to me!
Acked-by: Balbir Singh <balbir@...ux.vnet.ibm.com>
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
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