summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-09-29 06:43:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 16:22:27 +0300
commitb30c78e216e5ce37b28c665b22ff9ec2882d7c2c (patch)
treeecdabb72a5769c785a73c75256a103924b846730
parent709e280afae54722421cc43e8b8436d058aae03f (diff)
downloadlinux-b30c78e216e5ce37b28c665b22ff9ec2882d7c2c.tar.xz
staging/lustre/ldlm: Remove unused round_timeout function
It's not referenced anywhere anymore. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
index ac79db952da7..a78c4a4c9bd4 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
@@ -71,11 +71,6 @@ struct ldlm_cb_async_args {
static struct ldlm_state *ldlm_state;
-inline unsigned long round_timeout(unsigned long timeout)
-{
- return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1);
-}
-
#define ELT_STOPPED 0
#define ELT_READY 1
#define ELT_TERMINATE 2