From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755218AbaKPNZj (ORCPT ); Sun, 16 Nov 2014 08:25:39 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:51463 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751938AbaKPNZh (ORCPT ); Sun, 16 Nov 2014 08:25:37 -0500 From: sunwxg To: Greg Kroah-Hartman , Peng Tao , devel@driverdev.osuosl.org Cc: Sun Wang , linux-kernel@vger.kernel.org Subject: [PATCH] staging:lustre:lnet:lnet Function must be static Date: Sun, 16 Nov 2014 21:24:44 +0800 Message-Id: <1416144284-31138-2-git-send-email-sun.wxg@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sun Wang Function must be static if function will not be used in other files. Signed-off-by: Sun Wang --- drivers/staging/lustre/lnet/lnet/{module.c.org => module.c} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c.org b/drivers/staging/lustre/lnet/lnet/module.c index e84d59d..4ca7b1d 100644 --- a/drivers/staging/lustre/lnet/lnet/module.c.org +++ b/drivers/staging/lustre/lnet/lnet/module.c @@ -43,7 +43,7 @@ MODULE_PARM_DESC(config_on_load, "configure network at module load"); static struct mutex lnet_config_mutex; -int +static int lnet_configure(void *arg) { /* 'arg' only there so I can be passed to cfs_create_thread() */