Staging: lustre: ptlrpc: pinger: Declare as static
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 4 Oct 2015 07:30:11 +0000 (13:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:59:35 +0000 (09:59 +0100)
Declare ptlrpc_pinger_remove_timeouts as static since it is used
only in this particular file.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/pinger.c

index 74fab7e21926daa8646ba117a9a4d66cf3a72581..a608165d1c2b7ff19c76e9e44a2c40f7a2149b54 100644 (file)
@@ -313,7 +313,7 @@ int ptlrpc_start_pinger(void)
        return 0;
 }
 
-int ptlrpc_pinger_remove_timeouts(void);
+static int ptlrpc_pinger_remove_timeouts(void);
 
 int ptlrpc_stop_pinger(void)
 {
@@ -497,7 +497,7 @@ int ptlrpc_del_timeout_client(struct list_head *obd_list,
 }
 EXPORT_SYMBOL(ptlrpc_del_timeout_client);
 
-int ptlrpc_pinger_remove_timeouts(void)
+static int ptlrpc_pinger_remove_timeouts(void)
 {
        struct timeout_item *item, *tmp;