diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-19 21:38:46 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-12-19 21:38:46 -0500 |
commit | 6ca7b13dea385484e2fcc89790b8030697c5014a (patch) | |
tree | 5dd8c1e46de01e91459c8a92e01274f598904769 /fs/ext4 | |
parent | b7271b0a39947f757d7969f6150dcb16c1976b91 (diff) |
ext4: 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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index dc40e75cba88..203086498caa 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -1036,7 +1036,7 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, stru | |||
1036 | return ERR_PTR(-EIO); | 1036 | return ERR_PTR(-EIO); |
1037 | } | 1037 | } |
1038 | inode = ext4_iget(dir->i_sb, ino); | 1038 | inode = ext4_iget(dir->i_sb, ino); |
1039 | if (unlikely(IS_ERR(inode))) { | 1039 | if (IS_ERR(inode)) { |
1040 | if (PTR_ERR(inode) == -ESTALE) { | 1040 | if (PTR_ERR(inode) == -ESTALE) { |
1041 | EXT4_ERROR_INODE(dir, | 1041 | EXT4_ERROR_INODE(dir, |
1042 | "deleted inode referenced: %u", | 1042 | "deleted inode referenced: %u", |