Commit 9a2477c2 authored by Kolbeinn Karlsson's avatar Kolbeinn Karlsson Committed by Greg Kroah-Hartman

staging: lustre: make functions only used locally static

Add a static modifier to two functions that have no
separate declaration and are only used within the file they are
defined in. This problem was reported by sparse.
Signed-off-by: default avatarKolbeinn Karlsson <kk752@cornell.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e5c2f7b5
......@@ -485,7 +485,7 @@ int ptlrpc_uuid_to_peer(struct obd_uuid *uuid,
return rc;
}
void ptlrpc_ni_fini(void)
static void ptlrpc_ni_fini(void)
{
wait_queue_head_t waitq;
struct l_wait_info lwi;
......@@ -529,7 +529,7 @@ lnet_pid_t ptl_get_pid(void)
return pid;
}
int ptlrpc_ni_init(void)
static int ptlrpc_ni_init(void)
{
int rc;
lnet_pid_t pid;
......
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