From: Tobias Klauser Date: Thu, 9 Dec 2010 14:39:34 +0000 (+0100) Subject: ext3: Remove redundant unlikely() X-Git-Tag: v2.6.38-rc1~410^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8057b9653923bd762d89ccb730c76cba40ce96f0;p=profile%2Fivi%2Fkernel-x86-ivi.git ext3: Remove redundant unlikely() IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser Signed-off-by: Jan Kara --- diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index cc682ab..b27ba71 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c @@ -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",