]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ecryptfs/inode.c
Remove duplicated unlikely() in IS_ERR()
[net-next-2.6.git] / fs / ecryptfs / inode.c
index 1623ebf25e5121950c4a4f9dc9edf700988146fe..0a1397335a8eb49a245e81b1826607a5158a2685 100644 (file)
@@ -111,7 +111,7 @@ ecryptfs_do_create(struct inode *directory_inode,
 
        lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry);
        lower_dir_dentry = lock_parent(lower_dentry);
-       if (unlikely(IS_ERR(lower_dir_dentry))) {
+       if (IS_ERR(lower_dir_dentry)) {
                ecryptfs_printk(KERN_ERR, "Error locking directory of "
                                "dentry\n");
                rc = PTR_ERR(lower_dir_dentry);