[PATCH] Fixing the warning in cgroup.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <menage@...>
Cc: Andrew Morton <akpm@...>, Balbir Singh <balbir@...>, <vatsa@...>, Dhaval Giani <dhaval@...>, LKML <linux-kernel@...>
Date: Sunday, October 21, 2007 - 1:30 pm

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@linux.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);


-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fixing the warning in cgroup.c, Kamalesh Babulal, (Sun Oct 21, 1:30 pm)
Re: [PATCH] Fixing the warning in cgroup.c, Andrew Morton, (Wed Oct 24, 2:29 am)
Re: [PATCH] Fixing the warning in cgroup.c, Balbir Singh, (Sun Oct 21, 1:55 pm)