staging/lustre/ldlm: Remove unused ldlm_pool_set_slv()
authorOleg Drokin <green@linuxhacker.ru>
Thu, 1 Oct 2015 04:12:30 +0000 (00:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:17:19 +0000 (11:17 +0200)
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_dlm.h
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c

index 1b5f298846a6adeb234f8b9a2504e9c086bc3fe1..ec717ebb17017506ec653f3054e5cc555fed753a 100644 (file)
@@ -1402,7 +1402,6 @@ int ldlm_pool_recalc(struct ldlm_pool *pl);
 __u32 ldlm_pool_get_lvf(struct ldlm_pool *pl);
 __u64 ldlm_pool_get_slv(struct ldlm_pool *pl);
 __u32 ldlm_pool_get_limit(struct ldlm_pool *pl);
-void ldlm_pool_set_slv(struct ldlm_pool *pl, __u64 slv);
 void ldlm_pool_set_clv(struct ldlm_pool *pl, __u64 clv);
 void ldlm_pool_set_limit(struct ldlm_pool *pl, __u32 limit);
 void ldlm_pool_add(struct ldlm_pool *pl, struct ldlm_lock *lock);
index cbe4b7b5cb24d04b90eea481463a9c1e32007d1d..94cdf5f3ffda24ab69171dd05f4fe3401def5f2b 100644 (file)
@@ -1009,19 +1009,6 @@ __u64 ldlm_pool_get_slv(struct ldlm_pool *pl)
 }
 EXPORT_SYMBOL(ldlm_pool_get_slv);
 
-/**
- * Sets passed \a slv to \a pl.
- *
- * \pre ->pl_lock is not locked.
- */
-void ldlm_pool_set_slv(struct ldlm_pool *pl, __u64 slv)
-{
-       spin_lock(&pl->pl_lock);
-       pl->pl_server_lock_volume = slv;
-       spin_unlock(&pl->pl_lock);
-}
-EXPORT_SYMBOL(ldlm_pool_set_slv);
-
 /**
  * Sets passed \a clv to \a pl.
  *