diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-09 15:39:00 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-01-10 19:04:07 +0100 |
commit | 0ed0cca7aa87b1f5708f597075013c20d8359667 (patch) | |
tree | 52ed27a9265dae03f33c3cd5e924b4a269c41466 | |
parent | a4ae3094869f18e26ece25ad175bbe4cd740e60b (diff) |
ext2: Remove redundant unlikely()
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>
-rw-r--r-- | fs/ext2/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c index f8aecd2e329..2e1d8341d82 100644 --- a/fs/ext2/namei.c +++ b/fs/ext2/namei.c @@ -67,7 +67,7 @@ static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, str inode = NULL; if (ino) { inode = ext2_iget(dir->i_sb, ino); - if (unlikely(IS_ERR(inode))) { + if (IS_ERR(inode)) { if (PTR_ERR(inode) == -ESTALE) { ext2_error(dir->i_sb, __func__, "deleted inode referenced: %lu", |