summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-04 10:30:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:59:35 +0300
commit4ed50b03160b3435006cba231afd60dffdd1ffb0 (patch)
tree36393d57419512ab3bfbc3f541ca15f195dedcb6
parente4ec6d23df2e5e7791fb55247a5481bb2c8d6b39 (diff)
downloadlinux-4ed50b03160b3435006cba231afd60dffdd1ffb0.tar.xz
Staging: lustre: ptlrpc: pinger: Declare as static
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>
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/pinger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/pinger.c b/drivers/staging/lustre/lustre/ptlrpc/pinger.c
index 74fab7e21926..a608165d1c2b 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/pinger.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/pinger.c
@@ -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;