From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Fasheh Date: Fri, 18 Mar 2011 11:31:15 -0700 Subject: [Ocfs2-devel] [PATCH] fs, ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS. In-Reply-To: References: Message-ID: <20110318183115.GL1703@wotan.suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Rakib Mullick Cc: LKML , ocfs2-devel@oss.oracle.com, Andrew Morton , Joel Becker , Sunil Mushran On Fri, Mar 18, 2011 at 05:01:08PM +0600, Rakib Mullick wrote: > When CONFIG_DEBUG_FS=y and CONFIG_OCFS2_FS_STATS=n, we get the > following warning: > > fs/ocfs2/cluster/tcp.c:213:16: warning: ?o2net_get_func_run_time? > defined but not used > > Since o2net_get_func_run_time is only called from > o2net_update_recv_stats, so move it under CONFIG_OCFS2_FS_STATS. > > Signed-off-by: Rakib Mullick Signed-off-by: Mark Fasheh Looks reasonable to me, thanks. --Mark -- Mark Fasheh