Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ca7b13d authored by Tobias Klauser's avatar Tobias Klauser Committed by Theodore Ts'o
Browse files

ext4: Remove redundant unlikely()



IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent b7271b0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1036,7 +1036,7 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, stru
			return ERR_PTR(-EIO);
		}
		inode = ext4_iget(dir->i_sb, ino);
		if (unlikely(IS_ERR(inode))) {
		if (IS_ERR(inode)) {
			if (PTR_ERR(inode) == -ESTALE) {
				EXT4_ERROR_INODE(dir,
						 "deleted inode referenced: %u",