diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-09 17:39:00 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-01-10 21:04:07 +0300 |
commit | 0ed0cca7aa87b1f5708f597075013c20d8359667 (patch) | |
tree | 52ed27a9265dae03f33c3cd5e924b4a269c41466 /fs/ext2/namei.c | |
parent | a4ae3094869f18e26ece25ad175bbe4cd740e60b (diff) | |
download | linux-0ed0cca7aa87b1f5708f597075013c20d8359667.tar.xz |
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>
Diffstat (limited to 'fs/ext2/namei.c')
-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 f8aecd2e3297..2e1d8341d827 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", |