From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753663AbXJUR4R (ORCPT ); Sun, 21 Oct 2007 13:56:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751639AbXJUR4F (ORCPT ); Sun, 21 Oct 2007 13:56:05 -0400 Received: from E23SMTP01.au.ibm.com ([202.81.18.162]:51863 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751855AbXJUR4E (ORCPT ); Sun, 21 Oct 2007 13:56:04 -0400 Message-ID: <471B9290.8050703@linux.vnet.ibm.com> Date: Sun, 21 Oct 2007 23:25:28 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Kamalesh Babulal CC: menage@google.com, Andrew Morton , vatsa@linux.vnet.ibm.com, Dhaval Giani , LKML Subject: Re: [PATCH] Fixing the warning in cgroup.c References: <471B8CAC.2070904@linux.vnet.ibm.com> In-Reply-To: <471B8CAC.2070904@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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 -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL