projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7271b0
)
ext4: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 20 Dec 2010 02:38:46 +0000
(21:38 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 20 Dec 2010 02:38:46 +0000
(21:38 -0500)
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>
fs/ext4/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/namei.c
b/fs/ext4/namei.c
index dc40e75cba8857e6068739646b4932bb315688fd..203086498caae89b7467ca5a95567a6ca65a8aca 100644
(file)
--- 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
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",