[lustre-devel] [PATCH 05/24] staging: lustre: make local functions static for LNet ni

James Simmons jsimmons at infradead.org
Mon Feb 22 14:29:06 PST 2016

From: Frank Zago <fzago at cray.com>

The function lnet_unprepare can be made static.

Signed-off-by: Frank Zago <fzago at cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5396
Reviewed-on: http://review.whamcloud.com/11306
Reviewed-by: James Simmons <uja.ornl at gmail.com>
Reviewed-by: Patrick Farrell <paf at cray.com>
Reviewed-by: Amir Shehata <amir.shehata at intel.com>
Reviewed-by: John L. Hammond <john.hammond at intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin at intel.com>
 drivers/staging/lustre/lnet/lnet/api-ni.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c
index fa65797..7583ae4 100644
--- a/drivers/staging/lustre/lnet/lnet/api-ni.c
+++ b/drivers/staging/lustre/lnet/lnet/api-ni.c
@@ -525,7 +525,7 @@ lnet_res_lh_initialize(struct lnet_res_container *rec, lnet_libhandle_t *lh)
 	list_add(&lh->lh_hash_chain, &rec->rec_lh_hash[hash]);
-int lnet_unprepare(void);
+static int lnet_unprepare(void);
 static int
 lnet_prepare(lnet_pid_t requested_pid)
@@ -611,7 +611,7 @@ lnet_prepare(lnet_pid_t requested_pid)
 	return rc;
+static int

More information about the lustre-devel mailing list