]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/ocfs2/sysfile.c
ocfs2: remove kfree() redundant null checks
[mirror_ubuntu-hirsute-kernel.git] / fs / ocfs2 / sysfile.c
index 3d635f4bbb201dba77cc79bd57feb67862744d4b..f053688d22a349ebf6803ecd676f64566fe90de0 100644 (file)
@@ -91,8 +91,7 @@ static struct inode **get_local_system_inode(struct ocfs2_super *osb,
                } else
                        osb->local_system_inodes = local_system_inodes;
                spin_unlock(&osb->osb_lock);
-               if (unlikely(free))
-                       kfree(free);
+               kfree(free);
        }
 
        index = (slot * NUM_LOCAL_SYSTEM_INODES) +