Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756582Ab1CRSbY (ORCPT ); Fri, 18 Mar 2011 14:31:24 -0400 Received: from cantor.suse.de ([195.135.220.2]:59707 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753937Ab1CRSbS (ORCPT ); Fri, 18 Mar 2011 14:31:18 -0400 Date: Fri, 18 Mar 2011 11:31:15 -0700 From: Mark Fasheh To: Rakib Mullick Cc: LKML , ocfs2-devel@oss.oracle.com, Andrew Morton , Joel Becker , Sunil Mushran Subject: Re: [PATCH] fs,ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS. Message-ID: <20110318183115.GL1703@wotan.suse.de> Reply-To: Mark Fasheh References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: SUSE Labs, Novell, Inc User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 777 Lines: 23 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/