fs,ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS.
authorRakib Mullick <rakib.mullick@gmail.com>
Fri, 18 Mar 2011 11:01:08 +0000 (17:01 +0600)
committerJoel Becker <jlbec@evilplan.org>
Mon, 28 Mar 2011 16:43:28 +0000 (09:43 -0700)
commited59992e8d91b70053c53d846a76f7e1ac000454
treef8e3cebab68a6a5919225e95dde9f3f3a9d00817
parent770c4d81e0d2ca45516ddc9ae0a69565790b5533
fs,ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS.

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 <rakib.mullick@gmail.com>
Signed-off-by: jlbec <jlbec@evilplan.org>
fs/ocfs2/cluster/tcp.c