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:
521cb40
)
exofs: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:55:21 +0000
(15:55 +0100)
committer
Boaz Harrosh
<bharrosh@panasas.com>
Tue, 15 Mar 2011 10:33:42 +0000
(12:33 +0200)
IS_ERR() already implies unlikely(), so it can be omitted here.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
fs/exofs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/exofs/super.c
b/fs/exofs/super.c
index 8c6c4669b381699d78b52e541c7ad59fd82a9c1b..78f5ad633d3b44b8a79bb77fc7edc1505eb9d84b 100644
(file)
--- a/
fs/exofs/super.c
+++ b/
fs/exofs/super.c
@@
-495,7
+495,7
@@
static int exofs_read_lookup_dev_table(struct exofs_sb_info **psbi,
}
od = osduld_info_lookup(&odi);
- if (
unlikely(IS_ERR(od)
)) {
+ if (
IS_ERR(od
)) {
ret = PTR_ERR(od);
EXOFS_ERR("ERROR: device requested is not found "
"osd_name-%s =>%d\n", odi.osdname, ret);