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: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
53856b2320
commit
e4ec6d23df
@ -2289,7 +2289,6 @@ int ptlrpc_connection_put(struct ptlrpc_connection *c);
|
||||
struct ptlrpc_connection *ptlrpc_connection_addref(struct ptlrpc_connection *);
|
||||
int ptlrpc_connection_init(void);
|
||||
void ptlrpc_connection_fini(void);
|
||||
lnet_pid_t ptl_get_pid(void);
|
||||
|
||||
/* ptlrpc/niobuf.c */
|
||||
/**
|
||||
|
@ -521,7 +521,7 @@ static void ptlrpc_ni_fini(void)
|
||||
/* notreached */
|
||||
}
|
||||
|
||||
lnet_pid_t ptl_get_pid(void)
|
||||
static lnet_pid_t ptl_get_pid(void)
|
||||
{
|
||||
lnet_pid_t pid;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user