ocfs2: remove some unused code
[cascardo/linux.git] / fs / ocfs2 / dlmglue.c
index 6bd690b..52cfe99 100644 (file)
@@ -2544,11 +2544,6 @@ int ocfs2_super_lock(struct ocfs2_super *osb,
         * refreshed, so we do it here. Of course, making sense of
         * everything is up to the caller :) */
        status = ocfs2_should_refresh_lock_res(lockres);
-       if (status < 0) {
-               ocfs2_cluster_unlock(osb, lockres, level);
-               mlog_errno(status);
-               goto bail;
-       }
        if (status) {
                status = ocfs2_refresh_slot_info(osb);