Staging: lustre: ptlrpc: events: Declare as static
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 4 Oct 2015 07:30:10 +0000 (13:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:59:35 +0000 (09:59 +0100)
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>
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/ptlrpc/events.c

index 428b83d0db5e3b0c0159a39e753c922423e68a14..c8d62078c6b939fc24514ac28a6c425d5749ff0a 100644 (file)
@@ -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 */
 /**
index afd869b205a5b3945e2e993c032e4f811323b11a..183e4156950df01c00168aaa71a9023db2b51bf2 100644 (file)
@@ -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;
 
This page took 0.027931 seconds and 5 git commands to generate.