All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: lustre: ldlm_lockd: Remove unused function
@ 2015-11-01  9:48 Shivani Bhardwaj
  2015-11-01  9:56 ` Shivani Bhardwaj
  0 siblings, 1 reply; 2+ messages in thread
From: Shivani Bhardwaj @ 2015-11-01  9:48 UTC (permalink / raw)
  To: outreachy-kernel

Remove the function cancel_unused_locks_before_replay_show() as it is
not called anywhere.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
---
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
index ca11511..3af0a73 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
@@ -873,13 +873,6 @@ EXPORT_SYMBOL(ldlm_put_ref);
 
 extern unsigned int ldlm_cancel_unused_locks_before_replay;
 
-static ssize_t cancel_unused_locks_before_replay_show(struct kobject *kobj,
-						      struct attribute *attr,
-						      char *buf)
-{
-	return sprintf(buf, "%d\n", ldlm_cancel_unused_locks_before_replay);
-}
-
 static ssize_t cancel_unused_locks_before_replay_store(struct kobject *kobj,
 						       struct attribute *attr,
 						       const char *buffer,
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-01  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-01  9:48 [PATCH] Staging: lustre: ldlm_lockd: Remove unused function Shivani Bhardwaj
2015-11-01  9:56 ` Shivani Bhardwaj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.