Skip to contentSkip to conversation

ocfs2/dlm: cleanup unused function __dlm_wait_on_lockres_flags_set

PATCH New Joseph Qi 1 participant 1 message Apr 25, 2015 OCFS2

lore
Share & tools
lore

Joseph Qi

author
#0 lore raw

PATCH 1/1 ocfs2/dlm: cleanup unused function __dlm_wait_on_lockres_flags_set

Function __dlm_wait_on_lockres_flags_set is declared but not implemented and used. So remove it.

---
 fs/ocfs2/dlm/dlmcommon.h | 1 -
 1 file changed, 1 deletion(-)
fs/ocfs2/dlm/dlmcommon.h +0 -1
index fae17c6..e88ccf8 100644
@@ -1014,7 +1014,6 @@ void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm,
 
 /* will exit holding res->spinlock, but may drop in function */
 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags);
-void __dlm_wait_on_lockres_flags_set(struct dlm_lock_resource *res, int flags);
 
 /* will exit holding res->spinlock, but may drop in function */
 static inline void __dlm_wait_on_lockres(struct dlm_lock_resource *res)
Signature · 1 line
1.8.4.3