Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext3: 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>

authored by

Tobias Klauser and committed by
Jan Kara
8057b965 0ed0cca7

+1 -1
+1 -1
fs/ext3/namei.c
··· 1038 1038 return ERR_PTR(-EIO); 1039 1039 } 1040 1040 inode = ext3_iget(dir->i_sb, ino); 1041 - if (unlikely(IS_ERR(inode))) { 1041 + if (IS_ERR(inode)) { 1042 1042 if (PTR_ERR(inode) == -ESTALE) { 1043 1043 ext3_error(dir->i_sb, __func__, 1044 1044 "deleted inode referenced: %lu",