Commit fccfde7d authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/lnet: Make lnet_ping static

It's not used anywhere outside of api-ni.c anyway.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98aa7661
...@@ -662,8 +662,6 @@ void lnet_swap_pinginfo(lnet_ping_info_t *info); ...@@ -662,8 +662,6 @@ void lnet_swap_pinginfo(lnet_ping_info_t *info);
int lnet_ping_target_init(void); int lnet_ping_target_init(void);
void lnet_ping_target_fini(void); void lnet_ping_target_fini(void);
int lnet_ping(lnet_process_id_t id, int timeout_ms,
lnet_process_id_t *ids, int n_ids);
int lnet_parse_ip2nets(char **networksp, char *ip2nets); int lnet_parse_ip2nets(char **networksp, char *ip2nets);
int lnet_parse_routes(char *route_str, int *im_a_router); int lnet_parse_routes(char *route_str, int *im_a_router);
......
...@@ -61,6 +61,9 @@ static int rnet_htable_size = LNET_REMOTE_NETS_HASH_DEFAULT; ...@@ -61,6 +61,9 @@ static int rnet_htable_size = LNET_REMOTE_NETS_HASH_DEFAULT;
module_param(rnet_htable_size, int, 0444); module_param(rnet_htable_size, int, 0444);
MODULE_PARM_DESC(rnet_htable_size, "size of remote network hash table"); MODULE_PARM_DESC(rnet_htable_size, "size of remote network hash table");
static int lnet_ping(lnet_process_id_t id, int timeout_ms,
lnet_process_id_t *ids, int n_ids);
static char * static char *
lnet_get_routes(void) lnet_get_routes(void)
{ {
...@@ -1672,8 +1675,8 @@ lnet_ping_target_fini(void) ...@@ -1672,8 +1675,8 @@ lnet_ping_target_fini(void)
cfs_restore_sigs(blocked); cfs_restore_sigs(blocked);
} }
int static int lnet_ping(lnet_process_id_t id, int timeout_ms,
lnet_ping(lnet_process_id_t id, int timeout_ms, lnet_process_id_t *ids, int n_ids) lnet_process_id_t *ids, int n_ids)
{ {
lnet_handle_eq_t eqh; lnet_handle_eq_t eqh;
lnet_handle_md_t mdh; lnet_handle_md_t mdh;
......
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