projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed0cca
)
ext3: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:39:34 +0000
(15:39 +0100)
committer
Jan Kara
<jack@suse.cz>
Mon, 10 Jan 2011 18:04:07 +0000
(19:04 +0100)
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>
fs/ext3/namei.c
patch
|
blob
|
history
diff --git
a/fs/ext3/namei.c
b/fs/ext3/namei.c
index cc682ab55b73ded23067a226d1bed962bcf1300b..b27ba71810ecdb57efbf7739559eb7bb76b1126e 100644
(file)
--- a/
fs/ext3/namei.c
+++ b/
fs/ext3/namei.c
@@
-1038,7
+1038,7
@@
static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, str
return ERR_PTR(-EIO);
}
inode = ext3_iget(dir->i_sb, ino);
- if (
unlikely(IS_ERR(inode)
)) {
+ if (
IS_ERR(inode
)) {
if (PTR_ERR(inode) == -ESTALE) {
ext3_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",