Staging: lustre: ldlm_lockd: Remove unused function
PATCH 1/1 Staging: lustre: ldlm_lockd: Remove unused function
Remove the function cancel_unused_locks_before_replay_show() as it is not called anywhere.
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c +0 -7
@@ -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,
Signature · 1 line
2.1.0
Quoted 28 lines · Shivani Bhardwaj
Remove the function
cancel_unused_locks_before_replay_show()as it is not called anywhere.Signed-off-by Shivani Bhardwaj <[email protected]>---
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 7 ------- 1 file changed, 7 deletions(-)drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c +0
-7@@ -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); -} -
Quoted 10 lines
static
ssize_tcancel_unused_locks_before_replay_store(struct kobject
*kobj,
struct attribute
*attr,
const char
*buffer,Signature · 1 line
2.1.0
This patch does not apply. I'm sorry. This is wrong, I just figured out.