Commit 09f2f175 authored by Frank Zago's avatar Frank Zago Committed by Greg Kroah-Hartman

staging: lustre: make local functions static for LNet ni

The function lnet_unprepare can be made static.
Signed-off-by: default avatarFrank Zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5396
Reviewed-on: http://review.whamcloud.com/11306Reviewed-by: default avatarJames Simmons <uja.ornl@gmail.com>
Reviewed-by: default avatarPatrick Farrell <paf@cray.com>
Reviewed-by: default avatarAmir Shehata <amir.shehata@intel.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent edeb5d8c
......@@ -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;
}
int
static int
lnet_unprepare(void)
{
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment