Commit e4ec6d23 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: ptlrpc: events: Declare as static

Declare ptl_get_pid as static since it is used only in this particular
file. Also remove declaration from corresponding header file
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 53856b23
...@@ -2289,7 +2289,6 @@ int ptlrpc_connection_put(struct ptlrpc_connection *c); ...@@ -2289,7 +2289,6 @@ int ptlrpc_connection_put(struct ptlrpc_connection *c);
struct ptlrpc_connection *ptlrpc_connection_addref(struct ptlrpc_connection *); struct ptlrpc_connection *ptlrpc_connection_addref(struct ptlrpc_connection *);
int ptlrpc_connection_init(void); int ptlrpc_connection_init(void);
void ptlrpc_connection_fini(void); void ptlrpc_connection_fini(void);
lnet_pid_t ptl_get_pid(void);
/* ptlrpc/niobuf.c */ /* ptlrpc/niobuf.c */
/** /**
......
...@@ -521,7 +521,7 @@ static void ptlrpc_ni_fini(void) ...@@ -521,7 +521,7 @@ static void ptlrpc_ni_fini(void)
/* notreached */ /* notreached */
} }
lnet_pid_t ptl_get_pid(void) static lnet_pid_t ptl_get_pid(void)
{ {
lnet_pid_t pid; 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