]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ext3: Remove redundant unlikely()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 9 Dec 2010 14:39:34 +0000 (15:39 +0100)
committerJan Kara <jack@suse.cz>
Mon, 10 Jan 2011 18:04:07 +0000 (19:04 +0100)
IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/namei.c

index cc682ab55b73ded23067a226d1bed962bcf1300b..b27ba71810ecdb57efbf7739559eb7bb76b1126e 100644 (file)
@@ -1038,7 +1038,7 @@ static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, str
                        return ERR_PTR(-EIO);
                }
                inode = ext3_iget(dir->i_sb, ino);
-               if (unlikely(IS_ERR(inode))) {
+               if (IS_ERR(inode)) {
                        if (PTR_ERR(inode) == -ESTALE) {
                                ext3_error(dir->i_sb, __func__,
                                                "deleted inode referenced: %lu",