projects
/
GitHub
/
LineageOS
/
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:
a4ae309
)
ext2: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:39:00 +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/ext2/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext2/namei.c
b/fs/ext2/namei.c
index f8aecd2e32976c40b1af182a13a312ae0b8e23fe..2e1d8341d827b173b44b4f034106a7db7f2be8da 100644
(file)
--- a/
fs/ext2/namei.c
+++ b/
fs/ext2/namei.c
@@
-67,7
+67,7
@@
static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, str
inode = NULL;
if (ino) {
inode = ext2_iget(dir->i_sb, ino);
- if (
unlikely(IS_ERR(inode)
)) {
+ if (
IS_ERR(inode
)) {
if (PTR_ERR(inode) == -ESTALE) {
ext2_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",