diff options
Diffstat (limited to 'fs/ocfs2/dlm/dlmmaster.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 953aa8421be4..f1fbf2f4e5d6 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c | |||
@@ -579,11 +579,6 @@ static void dlm_lockres_release(struct kref *kref) | |||
579 | kfree(res); | 579 | kfree(res); |
580 | } | 580 | } |
581 | 581 | ||
582 | void dlm_lockres_get(struct dlm_lock_resource *res) | ||
583 | { | ||
584 | kref_get(&res->refs); | ||
585 | } | ||
586 | |||
587 | void dlm_lockres_put(struct dlm_lock_resource *res) | 582 | void dlm_lockres_put(struct dlm_lock_resource *res) |
588 | { | 583 | { |
589 | kref_put(&res->refs, dlm_lockres_release); | 584 | kref_put(&res->refs, dlm_lockres_release); |